Returns a lighting vector (ambient, diffuse, specular, 1) where:
ret lit(n dot l, n dot h, m) |
---|
Where:
Name | In/Out | Template Type | Component Type | Size |
---|---|---|---|---|
l | in | scalar | float | 1 |
h | in | scalar | float | 1 |
m | in | scalar | float | 1 |
ret | out | vector | float | 4 |
This intrinsic function is supported in the following (or above) shader versions:
Vertex Shader | Pixel Shader |
---|---|
vs_1_1 | ps_2_0 |