From: Jean-Philippe Bruyère Date: Sun, 6 Nov 2022 16:38:12 +0000 (+0100) Subject: debug skybox shader X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=0d6f17dbe012d6318c7b4f4519f84dd4ec92d916;p=jp%2Fvke.net.git debug skybox shader --- diff --git a/addons/EnvironmentPipeline/shaders/skybox.frag b/addons/EnvironmentPipeline/shaders/skybox.frag index e505ef1..a6d465a 100644 --- a/addons/EnvironmentPipeline/shaders/skybox.frag +++ b/addons/EnvironmentPipeline/shaders/skybox.frag @@ -2,11 +2,11 @@ layout (binding = 2) uniform samplerCube samplerEnv; -layout (set = 0, location = 0) in vec3 inUVW; +layout (location = 0) in vec3 inUVW; -layout (set = 0, location = 0) out vec4 outColor; +layout (location = 0) out vec4 outColor; void main() { outColor = vec4(textureLod(samplerEnv, inUVW, 1.5).rgb, 1.0); -} \ No newline at end of file +}