Blender Git Commit Log

Git Commits -> Revision 5c30121

Revision 5c30121 by Clément Foucault (master)
March 14, 2018, 13:52 (GMT)
Clay: Add FXAA.

I tried to use real multisampling but the main problem is the outline detection that needs to have matching depth samples.

So adding FXAA instead. Always on for now, may add a parameter for it later.

One thing to note is that we need to copy the final output once again to the main color buffer because we cannot swap the dtxl textures (they can be referenced elsewhere like GPUOffscreen).

We could improve upon this and add TAA on top if viewport is still.

Commit Details:

Full Hash: 5c30121b8ca0d46f8aaf9ae7e33383b2c45c7c78
Parent Commit: 3530ee2
Lines Changed: +92, -33

2 Added Paths:

/source/blender/draw/engines/clay/shaders/clay_copy.glsl (+10, -0) (View)
/source/blender/draw/engines/clay/shaders/clay_fxaa.glsl (+18, -0) (View)

2 Modified Paths:

/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/clay/clay_engine.c (+62, -33) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021