Changeset 4f63fa8 in opengl-game for shaders/shader.frag


Ignore:
Timestamp:
Aug 2, 2019, 5:17:11 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
2c87504, adcd252
Parents:
fba08f2
Message:

Fix the MVP matrix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shaders/shader.frag

    rfba08f2 r4f63fa8  
    1010
    1111void main() {
    12    // outColor = vec4(fragColor, 1.0);
    13    // outColor = texture(texSampler, fragTexCoord);
    1412   outColor = vec4(fragColor * texture(texSampler, fragTexCoord).rgb, 1.0);
    1513}
Note: See TracChangeset for help on using the changeset viewer.