Skip to content
Snippets Groups Projects
Commit a164daad authored by Michael Pohoreski (Ptolemy Linden)'s avatar Michael Pohoreski (Ptolemy Linden)
Browse files

Cleanup comments

parent bd761b08
No related branches found
No related tags found
No related merge requests found
......@@ -276,7 +276,11 @@ void main()
final_color.a = max(final_color.a, emissive_brightness);
// SL-11406 Fullbright: Object > Texture > Shininess > Environment Intensity = 1
// Texture
// [x] Full Bright Object
// Shininess (specular)
// [X] Texture
// Environment Intensity = 1
// NOTE: There are two shaders that are used depending on the EI byte value:
// EI = 0 fullbright
// EI > 0 .. 255 material
......@@ -329,9 +333,6 @@ void main()
float da = dot(norm.xyz, normalize(light_dir.xyz));
// Dot product is guaranteed to be in -1 <= da <= +1 range for normalized vectors
// da = clamp(da, -1.0, 1.0);
float final_da = clamp(da, 0.0, 1.0);
float ambient = da;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment