Easy way to get stencil in rtt

Is there a fast easy way to get stencil output to rtt similar to EffectLayerMainRTT of highlight/glowlayer?

Repo shows that the process seems fairly involved needing effectLayer, thinEffectLayer. All I need is the texture for my pp testing. I could jump into that rabbit hole but figured it would be best to ask first.

Good question for @Evgeni_Popov (Be patient he is on well deserved vacations)

If it is to read values from it it will be difficult as it is all mixed up with depth data.

Figured it out: Babylon.js Playground

One of many ways, useful for testing custom pps. Leaving it here for future users, cheers!

2 Likes