How can I get a working postprocess shader created in NME without promoting it's nodes to target type Fragment?

Hi!
I’m trying to display only the bright spots on the scene using the pipeline and custom postprocesses. I have a simple setup here with just one postprocess:

It is working only when I set this node’s Target to Fragment. It is not working for Vertex. How can I set it up to work with target Vertex?

FYI:

Thank you!

You can’t make it work by having the code in the vertex shader, given what you want to do you really need to lookup the texture for each pixel fragment, so it must run in the fragment shader.

2 Likes

I didn’t get what @Deltakosh was referring to when talking about texels. A quick Google search and now it’s all clear!

Thanks a lot for helping me guys!