Commit 4e79c0e2 authored by bitplane's avatar bitplane

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
parent c374f1b7
Changes in version 1.3.1 (20 Jun 2007) 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 - Fixed a bug with negative exponents in fast_atof, posted by RVL
- renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation - renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation
......
...@@ -163,7 +163,7 @@ const char OPENGL_NORMAL_MAP_PSH[] = ...@@ -163,7 +163,7 @@ const char OPENGL_NORMAL_MAP_PSH[] =
"\n"\ "\n"\
"# calculate color of light2; \n"\ "# calculate color of light2; \n"\
"MAD temp2, light2Vector, {2,2,2,2}, {-1,-1,-1,-1}; \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"\ "MAD temp, light2Color, temp2, temp; \n"\
"\n"\ "\n"\
"# luminance * base color; \n"\ "# luminance * base color; \n"\
......
...@@ -197,7 +197,7 @@ const char OPENGL_PARALLAX_MAP_PSH[] = ...@@ -197,7 +197,7 @@ const char OPENGL_PARALLAX_MAP_PSH[] =
"\n"\ "\n"\
"# calculate color of light2; \n"\ "# calculate color of light2; \n"\
"MAD temp2, light2Vector, {2,2,2,2}, {-1,-1,-1,-1}; \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"\ "MAD temp, light2Color, temp2, temp; \n"\
"\n"\ "\n"\
"# luminance * base color; \n"\ "# luminance * base color; \n"\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment