Continued work on PBR example

This commit is contained in:
saschawillems 2017-02-19 15:03:16 +01:00
parent 85b44a0346
commit 0f8bed9fde
9 changed files with 263 additions and 28 deletions

View file

@ -0,0 +1,12 @@
#version 450
layout (binding = 1) uniform samplerCube samplerEnv;
layout (location = 0) in vec3 inUVW;
layout (location = 0) out vec4 outFragColor;
void main()
{
outFragColor = texture(samplerEnv, inUVW);
}