-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
There is a mistake somewhere with how I'm using the eye dir.
Perturb needs it negative:
vec3 N = perturb(normalMap, normal, -V, vUv);And the others need it positive:
//diffuse term
vec3 diffuse = light.color * computeDiffuse(L, V, N, roughness, albedo) * falloff;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels