Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/python_api/rst/gpu.rst')
-rw-r--r--doc/python_api/rst/gpu.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/python_api/rst/gpu.rst b/doc/python_api/rst/gpu.rst
index b56523c2206..6c38122a573 100644
--- a/doc/python_api/rst/gpu.rst
+++ b/doc/python_api/rst/gpu.rst
@@ -186,6 +186,7 @@ GLSL Lamp Uniforms
mat4_world_to_cam_ * (-vec3_lamp_Z_axis)
.. note::
+
- The lamp Z axis points to the opposite direction of light.
- The norm of the vector should be unit length.
@@ -277,6 +278,12 @@ GLSL Lamp Uniforms
:type: float
+.. data:: GPU_DYNAMIC_LAMP_SPOTSCALE
+
+ Represents the SpotLamp local scale.
+
+ :type: float2
+
GLSL Sampler Uniforms
^^^^^^^^^^^^^^^^^^^^^