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