bloom effect - musk
pipeline:
color -+-> p0_blur_x -> p1_blur_y -+-> p2_combine
\ /
'-----------------------'
recommended having high precision buffers, and strong light sourcescolor correction - by musk
single pass, should be easy to use...
optional inverse gamma correct in the last line, uncomment if not linear pipeline
recommend having this effect last in the pipeline
can make high dinamic scenes fit into sRGB :)depth of field with hexagonal kernel - by musk
That Pipeline:
--> p1 --> p2 --
/ \
--> p0 --+----> p3 --> p4 ----+--> p7 -->
\ /
--> p5 --> p6 --
1) Compute the circle of confusion:
color & depth -> p0_comp_blur_amount.hlsl
2) Separable blur 3 times:
p0 -> p1 -> p2
p0 -> p3 -> p4
p0 -> p5 -> p6
3) Combine them to form a hexagonal kernel
p2 & p4 & p6 -> p7_combine.hlsl
lens distort with chromatic aberation - by musk
single pass, should be easy to use