 |
Path Tracing
|
Loading...
Searching...
No Matches
- Struct GPULight
- Replace type hardcoded number to light definitions ex. LIGHT_POINT
- Member GPUMaterial::type
- Add uv_scale implementation to reduce texture unused size (here and globals), remove _pad
- Struct GPUVertex
- Might as well use the pre-calculated size to warn if the GPU can't handle it.
- Member uploadTexture (const vector< CPUMaterial > &cpu_materials, vector< GPUMaterial > &gpu_materials, Renderer &r)
- Bad handling textures that are not squared (like 128x2048, or 64x512), but forces to be. It's hip to be square