diff --git a/Chapter_10/PVR_AlphaTest/AlphaTest.pod b/Chapter_10/PVR_AlphaTest/AlphaTest.pod index e5b8512..3c9703a 100644 Binary files a/Chapter_10/PVR_AlphaTest/AlphaTest.pod and b/Chapter_10/PVR_AlphaTest/AlphaTest.pod differ diff --git a/Chapter_10/PVR_ClipPlane/ClipPlane.pfx b/Chapter_10/PVR_ClipPlane/ClipPlane.pfx index bfb8543..90b5dce 100644 --- a/Chapter_10/PVR_ClipPlane/ClipPlane.pfx +++ b/Chapter_10/PVR_ClipPlane/ClipPlane.pfx @@ -54,7 +54,7 @@ void main( void ) ATTRIBUTE a_vertex POSITION UNIFORM u_matViewProjection WORLDVIEWPROJECTION - UNIFORM u_clipPlane CLIPPLANE vec4(0.43,0.89,0.0,1.0) + UNIFORM u_clipPlane CLIPPLANE vec4(0.25,0.0,0.0,1.0) FRAGMENTSHADER FragShader VERTEXSHADER VertShader diff --git a/Chapter_10/PVR_ClipPlane/ClipPlane.pod b/Chapter_10/PVR_ClipPlane/ClipPlane.pod index 9cb2df3..0006130 100644 Binary files a/Chapter_10/PVR_ClipPlane/ClipPlane.pod and b/Chapter_10/PVR_ClipPlane/ClipPlane.pod differ diff --git a/Chapter_10/PVR_LinearFog/Fog.pfx b/Chapter_10/PVR_LinearFog/Fog.pfx index 8d0aa15..d4aa842 100644 --- a/Chapter_10/PVR_LinearFog/Fog.pfx +++ b/Chapter_10/PVR_LinearFog/Fog.pfx @@ -94,7 +94,7 @@ void main( void ) UNIFORM u_matViewProjection WORLDVIEWPROJECTION UNIFORM u_matView WORLDVIEW - UNIFORM u_fogColor FOGCOLOR vec3(0.0, 0.0, 0.0) + UNIFORM u_fogColor FOGCOLOR vec4(1.0,1.0,1.0,1.0) UNIFORM u_fogMaxDist FOGMAXDIST float(320.0) UNIFORM u_fogMinDist FOGMINDIST float(280.0) diff --git a/Chapter_10/PVR_LinearFog/Fog.pod b/Chapter_10/PVR_LinearFog/Fog.pod index 116280f..1052656 100644 Binary files a/Chapter_10/PVR_LinearFog/Fog.pod and b/Chapter_10/PVR_LinearFog/Fog.pod differ