I’ve already posted a question on answerhub https://answers.unrealengine.com/questions/478911/proper-way-to-invoke-post-process-shader.html, but it barely caught anyones attention, so i’m asking here.
What am i trying to do:
- post-process shader, which has several settings as inputs (among them occlusion map, light position, strengh, color etc.);
- plugin, which contains and handles this shader;
Using PostProcessDOF class as an example, i’ve tried to create my own shader executor class. It seems to compile, though not working - at the moment i’m getting “Access violation” error, when try to SetTextureParameter. So i’m having a lot of questions about getting all the data, i asume, is needed for shader to work. How to render scene as texture and get ViewInfo correctly? How to setup render target and shader texture parameter properly? What’s the right way to invoke my own shader, set its input and output? And lot more.
Would really appreciate any kind of help and information!
Best regards, Dennie.