Blender Git Loki
Git Commits -> Revision b474283
Revision b474283 by Brecht Van Lommel (apricot) June 21, 2008, 10:33 (GMT) |
Apricot Branch: GLSL ==================== * Added initial support for shadow buffers, works in the 3d view and the game engine, but has known issues still: * Shadow buffers are made again for each 3d viewport unnecessarily. * No filtering. * There was a bug with some shaders going black, but can't reproduce it anymore? * Added support for layer lamps, though they're still always computed in the shader, this needs to be optimized. * Added support for animating lamp position/rotation in the game engine. * Fix issue with lamps giving negative light on the backside. * Fix issue with specular + orthographic camera. * Fix square spotlights. * Potential workaround for a bug in the nvidia drivers with shader linking. |
Commit Details:
Full Hash: b4742833678ee240e92dae17f00d74d097c8fbe8
SVN Revision: 15294
Parent Commit: c302bfc
Lines Changed: +2160, -1523
32 Modified Paths:
/source/blender/blenkernel/intern/object.c (+4, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/gpu/GPU_extensions.h (+1, -2) (Diff)
/source/blender/gpu/GPU_material.h (+31, -6) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+203, -154) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+3, -5) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+144, -154) (Diff)
/source/blender/gpu/intern/gpu_material.c (+355, -101) (Diff)
/source/blender/gpu/intern/material_shaders.glsl (+96, -37) (Diff)
/source/blender/gpu/intern/material_shaders.glsl.c (+1024, -966) (Diff)
/source/blender/gpu/intern/material_vertex_shader.glsl (+5, -5) (Diff)
/source/blender/gpu/intern/material_vertex_shader.glsl.c (+8, -10) (Diff)
/source/blender/include/BDR_drawobject.h (+1, -0) (Diff)
/source/blender/include/BSE_drawview.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_camera.c (+1, -1) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_geom.c (+3, -1) (Diff)
/source/blender/src/buttons_shading.c (+3, -3) (Diff)
/source/blender/src/drawobject.c (+20, -21) (Diff)
/source/blender/src/drawview.c (+74, -15) (Diff)
/source/blender/src/previewrender.c (+5, -4) (Diff)
/source/blender/src/renderwin.c (+2, -2) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+6, -3) (Diff)
/source/gameengine/Ketsji/BL_BlenderShader.cpp (+9, -5) (Diff)
/source/gameengine/Ketsji/BL_BlenderShader.h (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+45, -3) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.h (+1, -0) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+65, -1) (Diff)
/source/gameengine/Ketsji/KX_Light.h (+15, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+23, -15) (Diff)
/source/gameengine/Ketsji/KX_Scene.h (+4, -4) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/gpu/GPU_extensions.h (+1, -2) (Diff)
/source/blender/gpu/GPU_material.h (+31, -6) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+203, -154) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+3, -5) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+144, -154) (Diff)
/source/blender/gpu/intern/gpu_material.c (+355, -101) (Diff)
/source/blender/gpu/intern/material_shaders.glsl (+96, -37) (Diff)
/source/blender/gpu/intern/material_shaders.glsl.c (+1024, -966) (Diff)
/source/blender/gpu/intern/material_vertex_shader.glsl (+5, -5) (Diff)
/source/blender/gpu/intern/material_vertex_shader.glsl.c (+8, -10) (Diff)
/source/blender/include/BDR_drawobject.h (+1, -0) (Diff)
/source/blender/include/BSE_drawview.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_camera.c (+1, -1) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_geom.c (+3, -1) (Diff)
/source/blender/src/buttons_shading.c (+3, -3) (Diff)
/source/blender/src/drawobject.c (+20, -21) (Diff)
/source/blender/src/drawview.c (+74, -15) (Diff)
/source/blender/src/previewrender.c (+5, -4) (Diff)
/source/blender/src/renderwin.c (+2, -2) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+6, -3) (Diff)
/source/gameengine/Ketsji/BL_BlenderShader.cpp (+9, -5) (Diff)
/source/gameengine/Ketsji/BL_BlenderShader.h (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+45, -3) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.h (+1, -0) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+65, -1) (Diff)
/source/gameengine/Ketsji/KX_Light.h (+15, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+23, -15) (Diff)
/source/gameengine/Ketsji/KX_Scene.h (+4, -4) (Diff)