We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b13162b commit 6abb604Copy full SHA for 6abb604
DroneSimulator/shaders/Phong.frag
@@ -42,7 +42,7 @@ void main() {
42
// this models the mirror-like shiny spots on surfaces where light reflects toward the camera
43
44
// components
45
- vec3 ambient = albedo; // not so much correct, but works for now
+ vec3 ambient = albedo;
46
vec3 diffuse = NdotL * albedo * gubo.lightColor * gubo.lightIntensity;
47
vec3 specular = spec * gubo.lightColor * gubo.lightIntensity;
48
0 commit comments