Changeset 22217d4 in opengl-game for shaders/ship.frag


Ignore:
Timestamp:
Mar 22, 2020, 10:07:01 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
1add0ed
Parents:
0807aeb
Message:

Make the view and projection matrices instaces variables of the VulkanGame class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shaders/ship.frag

    r0807aeb r22217d4  
    5757   vec3 Is2 = Ls * Ks * specular_factor2;
    5858
    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);
    6060}
Note: See TracChangeset for help on using the changeset viewer.