Fix for bug #18228: OpenGL specular did not get the correct view
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 6 Feb 2009 19:21:24 +0000 (19:21 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 6 Feb 2009 19:21:24 +0000 (19:21 +0000)
commite40803a5b3ac860f895c2180fe90f0040f3583d5
tree992d30305f2b27bd0f607c3dbb274a7fb4d1d388
parent09099111e39a7363fa186c4200b60b3b2bd93f9e
Fix for bug #18228: OpenGL specular did not get the correct view
vector in perspective mode. This is default OpenGL behavior, but
by now this optimization is really insignificant. Works in both
the 3d view and game engine.
14 files changed:
source/blender/gpu/GPU_draw.h
source/blender/gpu/intern/gpu_draw.c
source/blender/include/BSE_view.h
source/blender/src/drawmesh.c
source/blender/src/view.c
source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp
source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h
source/gameengine/GamePlayer/common/GPC_RenderTools.cpp
source/gameengine/GamePlayer/common/GPC_RenderTools.h
source/gameengine/Rasterizer/RAS_IRasterizer.h
source/gameengine/Rasterizer/RAS_IRenderTools.h
source/gameengine/Rasterizer/RAS_MaterialBucket.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h