+2
Completed
Edwon 2 years ago • updated by Jonathan Brodsky 1 month ago 6

I would like to be able to have int property that I can then use to set which stencil buffer I'm writing into.Being able to do that would increase flexibility massively.

Answer

Answer
Completed

Exposing stencil buffer values as properties is now supported as of SF 1.38

Under review

This should probably be exposed somehow, yeah

Has this been exposed yet? I would still love to have this feature! Very very useful, especially when you want to be able to set your stencil number using a property that you can see in Unity.

Hey! this would be valuable to me as well. Unity seems to have standardized a way of passing through parameters to the stencil settings (See the UI shader), and it would be amazing if shaderforge could follow that standard.

Shouldn't be too hard to implement, I'll look into it!

Answer
Completed

Exposing stencil buffer values as properties is now supported as of SF 1.38

ah amazing! thanks very much for doing that, greatly appreciate. Looking forward to the update.