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

Access Rendering mode var on Standard Shader via scripting

$
0
0
Hey Guys,

So basically I have been searching (without no luck) how to access the rendering mode in the standard shader; this is purely to be able to classify the type of standard shader is being used.

I know how to read all the properties, TexEnv Color, Range, and even if a texture is a flat texture type (TexDim2D) but I haven't been able to work out by myself what's the property that defines the Rendering Mode in the standard shader :s

I'm attaching an image to show exactly what I'm looking...

Access Rendering mode var on Standard Shader via scripting

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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