- Home /
Question by
mishakozlov74 · Jan 28, 2019 at 06:18 PM ·
c#shaderspost processinghlsl
How to get Initial texture in Post-Processing Stack v2
Hello.
I'm trying to write a custom post-processing shader with new Post-Processing Stack v2. I already have a few effects in my pipeline, but I need to determine whether I apply them or not based on condition.
So, I need to obtain the initial source texture right from camera, before all effects were applied and return it's value if I need.
The logic is to have the mask layer, camera that renders this layer into a texture and post-effect for masking.
Thanks a lot.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612190631im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
HLSL Post Process Shader Fixing UV/Texcoord 1 Answer
How to share constant variables between Compute Shaders? 0 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Set list in shader (uniform) 1 Answer