generated from karl/cpp-template
13 lines
205 B
GLSL
13 lines
205 B
GLSL
#version 430
|
|
|
|
layout (binding = 0) uniform sampler3D densities;
|
|
|
|
in vec3 varTextureG;
|
|
|
|
out vec4 color;
|
|
|
|
void main(void) {
|
|
float f = texture(densities, varTextureG).r;
|
|
color = vec4(f, f, f, 1.0);
|
|
}
|