3D View: support non-uniform scaled lamps

D1378 by @youle

Non-uniform scaled lamps now cast oval/rectangular shadows, viewport & BGE.
This commit is contained in:
Campbell Barton
2015-10-15 22:36:31 +11:00
parent 3de81314fa
commit e60d535443
6 changed files with 117 additions and 50 deletions

View File

@@ -277,6 +277,12 @@ GLSL Lamp Uniforms
:type: float
.. data:: GPU_DYNAMIC_LAMP_SPOTSCALE
Represents the SpotLamp local scale.
:type: float2
GLSL Sampler Uniforms
^^^^^^^^^^^^^^^^^^^^^