Blender Git Loki
Git Commits -> Revision 4b88dbb
Revision 4b88dbb by Mike Erwin (GPU_data_request) April 17, 2015, 03:23 (GMT) |
remove short int -> float conversion for vertex normals Performance experiment �?? thought this might be slowing down large shaded meshes on Mac + nVidia but it was not. Index buffers in VRAM fixed the perf issue :) Keeping normals as GL_SHORT uses less memory. Would be 1/2 but padding/alignment makes it 2/3. These stay GL_SHORT in VRAM also, and are converted to floats when loaded by the vertex shader. |
Commit Details:
Full Hash: 4b88dbb06ec201fa62455ca6e047556cb0dd9470
Parent Commit: 3541f23
Lines Changed: +2, -13
1 Modified Path:
/source/blender/editors/space_view3d/drawobject.c (+2, -13) (Diff)