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-e03cc46cb475
master
bitplane 2007-06-18 04:00:30 +00:00
parent c374f1b724
commit 4e79c0e25d
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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"\

View File

@ -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"\