Exact sampling
@@ -22,7 +22,7 @@ void main()
vec3 right = normalize(cross(up, N));
up = normalize(cross(N, right));
- float sampleDelta = 0.025;
+ float sampleDelta = 0.005 * PI;
float nrSamples = 0.0;
for(float phi = 0.0; phi < 2.0 * PI; phi += sampleDelta)
{
