Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Convention for parametrised shaders/materials

$
0
0
Hi,

I have a shader that does some vertex projecting/transforming, it has a dozen parameters which I tweak all the time and transparency. I then have 2 materials with that shader transparent and opaque.

I want those two materials to match their projection/vertex transforming - and only differ in the transparency param. Every time I tweak the projection on one of the materials I need to tweak it in the other one.

Is there an easy way to deal with this? I want to in a way "layer" the...

Convention for parametrised shaders/materials

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>