mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 21:11:39 +00:00
Fix compile error in vertex program
This commit is contained in:
parent
3c099397d8
commit
046e3c92da
1 changed files with 3 additions and 3 deletions
|
@ -1063,9 +1063,9 @@ static const char* LightingVPFragmentSpecular_Begin=
|
||||||
\n\
|
\n\
|
||||||
# Compute vertex-to-eye vector normed. \n\
|
# Compute vertex-to-eye vector normed. \n\
|
||||||
ADD R4, c[CTS+11], -R5; \n\
|
ADD R4, c[CTS+11], -R5; \n\
|
||||||
DP3 R4.w, R4, R4; \n\
|
DP3 R1.w, R4, R4; \n\
|
||||||
RSQ R4.w, R4.w; \n\
|
RSQ R1.w, R1.w; \n\
|
||||||
MUL R4, R4, R4.w; \n\
|
MUL R4, R4, R1.w; \n\
|
||||||
\n\
|
\n\
|
||||||
# Diffuse-Specular Sun \n\
|
# Diffuse-Specular Sun \n\
|
||||||
# Compute R1= halfAngleVector= (lightDir+R4).normed(). \n\
|
# Compute R1= halfAngleVector= (lightDir+R4).normed(). \n\
|
||||||
|
|
Loading…
Reference in a new issue