Skip to content
Snippets Groups Projects

Resolve "Indirect Dispatch"

Merged Ghost User requested to merge 106-indirect-dispatch into develop
Compare and Show latest version
8 files
+ 142
29
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -17,6 +17,10 @@ void main(){
vec2 uv = vec2(coord) / textureRes;
vec3 linearColor = texture(sampler2D(inTexture, textureSampler), uv).rgb;
// in case of motion vector visualisation negative values are possible
linearColor = abs(linearColor);
vec3 gammaCorrected = pow(linearColor, vec3(1 / 2.2));
imageStore(outImage, coord, vec4(gammaCorrected, 0.f));
Loading