Changeset 055750a in opengl-game for shaders/scene.frag


Ignore:
Timestamp:
Dec 4, 2019, 9:33:43 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
785333b, cf727ca
Parents:
e1308e8
Message:

In VulkanGame, use SSBOs in the ship and scene shaders to store per-object data (currently just the model matrix)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shaders/scene.frag

    re1308e8 r055750a  
    22#extension GL_ARB_separate_shader_objects : enable
    33
    4 layout(binding = 1) uniform sampler2D texSampler;
     4layout(binding = 2) uniform sampler2D texSampler;
    55
    66layout(location = 0) in vec3 fragColor;
Note: See TracChangeset for help on using the changeset viewer.