File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
tutorials/shaders/shader_reference Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,13 @@ shader, this value can be used as desired.
294294+----------------------------------------+--------------------------------------------------------+
295295| inout vec2 **UV2 ** | UV secondary channel. |
296296+----------------------------------------+--------------------------------------------------------+
297- | inout vec4 **COLOR ** | Color from vertices. |
297+ | inout vec4 **COLOR ** | Color from vertices. Limited to values between ``0.0 `` |
298+ | | and ``1.0 `` for each channel and 8 bits per channel |
299+ | | precision (256 possible levels). Alpha channel is |
300+ | | supported. Values outside the allowed range are |
301+ | | clamped, and values may be rounded due to precision |
302+ | | limitations. Use ``CUSTOM0 ``-``CUSTOM3 `` to pass data |
303+ | | with more precision if needed. |
298304+----------------------------------------+--------------------------------------------------------+
299305| out float **ROUGHNESS ** | Roughness for vertex lighting. |
300306+----------------------------------------+--------------------------------------------------------+
You can’t perform that action at this time.
0 commit comments