Move Sun to visibility
This commit is contained in:
parent
84b8e9c9a5
commit
c39a871bf8
|
|
@ -93,7 +93,7 @@ fn trace_fragment(in: Varying) -> vec3f {
|
|||
}
|
||||
}
|
||||
if (sphere == -1) {
|
||||
let theta = dot(ray, normalize(vec3(0., 0., 1.)));
|
||||
let theta = dot(ray, normalize(vec3(1., 2., 1.)));
|
||||
var env: vec3f; // in kilonits
|
||||
|
||||
const ILLUMINANCE_LUX = 1e5;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user