GUI: Box drawing
This commit is contained in:
@@ -9,14 +9,7 @@ layout(set = 0, binding = 2) uniform textureCube _Texture;
|
||||
|
||||
layout(location = 0) out vec4 fragColor;
|
||||
|
||||
vec3 toneMapAcesNarkowicz(vec3 color) {
|
||||
const float A = 2.51;
|
||||
const float B = 0.03;
|
||||
const float C = 2.43;
|
||||
const float D = 0.59;
|
||||
const float E = 0.14;
|
||||
return clamp((color * (A * color + B)) / (color * (C * color + D) + E), 0.0, 1.0);
|
||||
}
|
||||
#include "includes/tone_mapping.glsl"
|
||||
|
||||
void main() {
|
||||
vec4 texel = texture(samplerCube(_Texture, _Sampler), var.texCoord);
|
||||
|
||||
Reference in New Issue
Block a user