Quantcast
Channel: Answers for "make surface shader in cg, unlit"
Browsing latest articles
Browse All 4 View Live

Answer by skatecastorGP

Hi, Put this tag "Tags {"LightMode" = "Always"}", but the tris count will go up a lot

View Article



Answer by whydoidoit

You should just be able to do this: half4 LightingUnlit(SurfaceOutput s, half3 lightDir, half atten) { return half4(s.Albedo, s.Alpha); } Then make your #pragma #pragma surface surf Unlit

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images

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