fixed 2nd light vectors in opengl normal and parallax renderers
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@717 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
c374f1b724
commit
4e79c0e25d
|
@ -1,5 +1,7 @@
|
|||
Changes in version 1.3.1 (20 Jun 2007)
|
||||
|
||||
- Fixed a typo to do with 2nd light vectors in opengl parallax and normal map renderers.
|
||||
|
||||
- Fixed a bug with negative exponents in fast_atof, posted by RVL
|
||||
|
||||
- renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation
|
||||
|
|
|
@ -163,7 +163,7 @@ const char OPENGL_NORMAL_MAP_PSH[] =
|
|||
"\n"\
|
||||
"# calculate color of light2; \n"\
|
||||
"MAD temp2, light2Vector, {2,2,2,2}, {-1,-1,-1,-1}; \n"\
|
||||
"DP3_SAT temp2, normalMapColor, light2Vector; \n"\
|
||||
"DP3_SAT temp2, normalMapColor, temp2; \n"\
|
||||
"MAD temp, light2Color, temp2, temp; \n"\
|
||||
"\n"\
|
||||
"# luminance * base color; \n"\
|
||||
|
|
|
@ -197,7 +197,7 @@ const char OPENGL_PARALLAX_MAP_PSH[] =
|
|||
"\n"\
|
||||
"# calculate color of light2; \n"\
|
||||
"MAD temp2, light2Vector, {2,2,2,2}, {-1,-1,-1,-1}; \n"\
|
||||
"DP3_SAT temp2, normalMapColor, light2Vector; \n"\
|
||||
"DP3_SAT temp2, normalMapColor, temp2; \n"\
|
||||
"MAD temp, light2Color, temp2, temp; \n"\
|
||||
"\n"\
|
||||
"# luminance * base color; \n"\
|
||||
|
|
Loading…
Reference in New Issue