Advertisement
Errata - 2nd Edition PDF Print E-mail
Written by Administrator   
Saturday, 02 June 2007

The following errors have been reported in the second edition. All of them are being corrected for the second printing of the second edition.

Embarassed

  • p. 245 Listing 9.15, the line of code has unmatched parentheses, the second right paren ")" should be deleted
  • p. 319 The big long formula near the bottom has an error in the second-to-last term of the first line - the C4L20 value should be C4L00 instead.
  • p. 326 Listing 12.6, the whole first line of code "uniform vec3 WCLightPos; // Position of light in world coordinates" should be deleted, it is not used in the shader
  • p. 343 1st paragraph, 8th line, delete the "+ Epsilon" so the statement reads "(i.e., ShadowCoord.p)"
  • p. 343 Listing 13.5, 9th line of code (counting the blank lines), change "vec3(x, y, 0)" to "vec4(x, y, 0, 0)"

My apologies for any confusion that may have been caused by these errors. A big "thank you!" to the readers that have reported them.

 

Last Updated ( Saturday, 02 June 2007 )
 
thinkorange03.jpg