1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-03 04:53:35 +00:00
lovr/etc/shaders/cubemap.frag
bjorn 3bf5ec5744 Shader improvements;
Mostly renaming things and adding helper functions.
2022-07-06 22:54:56 -07:00

13 lines
307 B
GLSL

#version 460
#extension GL_EXT_multiview : require
#extension GL_GOOGLE_include_directive : require
#include "lovr.glsl"
layout(set = 1, binding = 1) uniform textureCube SkyboxTexture;
layout(location = 0) in vec3 Direction;
void main() {
PixelColors[0] = Color * getPixel(SkyboxTexture, Direction);
}