- Home /
Question by
staticbl · Oct 31, 2018 at 03:16 PM ·
shadertransparencypipeline
Changing lightweight shader "surface type "in c# ?
Hi there,
Could someone please help me with it ?
I'm using the LightWeight Pipeline and my material is using the "LightWeightPipeline/Standard (Simple Lighting)" shader. I'm trying to make my object transparent in certain conditions during runtime (and then back to non-transparent), but I don't know how to change the "surface type" from opaque to transparent at runtime. How would I do that ?
I know I could keep the surface type transparent at all times, but that doesn't look good as it changes the look of my objects.
Thanks !
Jonathan
Comment