You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/fragment_shader/index.rst
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,21 +70,30 @@ Inputs
70
70
* - NtshEngn_directionalLightCount
71
71
- uint
72
72
- The number of directional lights in the scene.
73
-
* - NtshEngn_directionalLight(i)
73
+
* - NtshEngn_directionalLight(uint i)
74
74
- :doc:`/types/Light/index`
75
-
- The *i*th directional light.
75
+
- The ``i``th directional light.
76
+
* - NtshEngn_directionalLightShadows(uint i, vec p)
77
+
- float
78
+
- A value between 0.0 and 1.0 determining how much the position ``p`` is in the shadows of the ``i``th directional light. 0.0 means completely in shadows, 1.0 means not in shadows.
76
79
* - NtshEngn_pointLightCount
77
80
- uint
78
81
- The number of point lights in the scene.
79
-
* - NtshEngn_pointLight(i)
82
+
* - NtshEngn_pointLight(uint i)
80
83
- :doc:`/types/Light/index`
81
-
- The *i*th point light.
84
+
- The ``i``th point light.
85
+
* - NtshEngn_pointLightShadows(uint i, vec p)
86
+
- float
87
+
- A value between 0.0 and 1.0 determining how much the position ``p`` is in the shadows of the ``i``th point light. 0.0 means completely in shadows, 1.0 means not in shadows.
82
88
* - NtshEngn_spotLightCount
83
89
- uint
84
90
- The number of spot lights in the scene.
85
-
* - NtshEngn_spotLight(i)
91
+
* - NtshEngn_spotLight(uint i)
86
92
- :doc:`/types/Light/index`
87
93
- The *i*th spot light.
94
+
* - NtshEngn_spotLightShadows(uint i, vec p)
95
+
- float
96
+
- A value between 0.0 and 1.0 determining how much the position ``p`` is in the shadows of the ``i``th spot light. 0.0 means completely in shadows, 1.0 means not in shadows.
0 commit comments