diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-03-10 19:38:23 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-03-10 19:38:23 +0400 |
commit | 9fe858264c698844c6734ed8eeeb0cd2373b4b4a (patch) | |
tree | 926c0f82915fe1417e3f679f5e64fe4f32350841 /source/blender/gpu/shaders | |
parent | f57398568a326dcbc69900d2c21b96abca14429b (diff) |
OpenGL: more work on fixed function lighting implementation as GLSL.
* Rename functions and move to own header.
* Add wrapper functions for glLight.
* Auto detect if we can use faster code for solid lighting.
* Various fixes for textured draw mode.
Diffstat (limited to 'source/blender/gpu/shaders')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_simple_frag.glsl (renamed from source/blender/gpu/shaders/gpu_shader_fixed_fragment.glsl) | 0 | ||||
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_simple_vert.glsl (renamed from source/blender/gpu/shaders/gpu_shader_fixed_vertex.glsl) | 0 |
2 files changed, 0 insertions, 0 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_fixed_fragment.glsl b/source/blender/gpu/shaders/gpu_shader_simple_frag.glsl index 9610e0cf5aa..9610e0cf5aa 100644 --- a/source/blender/gpu/shaders/gpu_shader_fixed_fragment.glsl +++ b/source/blender/gpu/shaders/gpu_shader_simple_frag.glsl diff --git a/source/blender/gpu/shaders/gpu_shader_fixed_vertex.glsl b/source/blender/gpu/shaders/gpu_shader_simple_vert.glsl index 612f9cff6aa..612f9cff6aa 100644 --- a/source/blender/gpu/shaders/gpu_shader_fixed_vertex.glsl +++ b/source/blender/gpu/shaders/gpu_shader_simple_vert.glsl |