z -= bias; float shadowValue = textureProj( u_shadowMap, shadowCoordinate );. and or to cull front faces when rendering to the shadow map. glCullFace( GL_FRONT ) ...
確定! 回上一頁