Changeset 2ff4d3e in opengl-game for gl-shaders


Ignore:
Timestamp:
Mar 26, 2020, 2:58:27 AM (4 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
2ba5617
Parents:
1add0ed
Message:

Change the light properties in the OpenGLRef ship shader to match those in the VulkanGame one to avoid confusion about the differences in how the ship is rendered in each project

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gl-shaders/ship.frag

    r1add0ed r2ff4d3e  
    77// fixed point light properties
    88vec3 Ls = vec3(1.0, 1.0, 1.0);
    9 vec3 Ld = vec3(1.0, 1.0, 1.0);
     9vec3 Ld = vec3(0.7, 0.7, 0.7);
    1010vec3 La = vec3(0.2, 0.2, 0.2);
    1111
Note: See TracChangeset for help on using the changeset viewer.