Changeset e1a7f5a in opengl-game for shaders/shader.frag
- Timestamp:
- Aug 16, 2019, 3:47:01 PM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 5936c58
- Parents:
- 5f3dba8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
shaders/shader.frag
r5f3dba8 re1a7f5a 13 13 void main() { 14 14 if (isOverlay == 1) { 15 outColor = vec4(fragColor * texture(uiTexSampler, fragTexCoord).rgb, 0.3);15 outColor = vec4(fragColor * texture(uiTexSampler, fragTexCoord).rgb, 1.0); 16 16 } else { 17 17 outColor = vec4(fragColor * texture(texSampler, fragTexCoord).rgb, 1.0);
Note:
See TracChangeset
for help on using the changeset viewer.