+2
Lokið

Is it possible to set stencil shader and blending options using a property?

Edwon 10 ár síðan updated by Demian Ford 3 ár síðan 10

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
Lokið

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
Lokið

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.

I am glad to hear that this was fixed and it now there with the latest version that I available for download. So I believe that the version I have downloaded has already this feature supported in it.

textile manufacturers usa