Changeset 22217d4 in opengl-game for shaders/ship.frag
- Timestamp:
- Mar 22, 2020, 10:07:01 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 1add0ed
- Parents:
- 0807aeb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
shaders/ship.frag
r0807aeb r22217d4 57 57 vec3 Is2 = Ls * Ks * specular_factor2; 58 58 59 frag_color = vec4((Is + Id + Ia + Is2 + Id2 + Ia2) /2, 1.0);59 frag_color = vec4((Is + Id + Ia + Is2 + Id2 + Ia2) / 2.0, 1.0); 60 60 }
Note:
See TracChangeset
for help on using the changeset viewer.