Quantcast
Channel: Latest Questions by frogsbo
Viewing all articles
Browse latest Browse all 90

Surface Shader If Condition W = :( A == B ? V syntax

$
0
0
i found some strange syntax in a surface shader, but i can't find any documentation on what it is. can't i just write if... else in a void surf()? what is :(a==b ? syntax and where can i learn it? float4 resultCol1 = Alti >= _TopLimit ? tex2D(_TexTop, IN.uv_TexTop)

Viewing all articles
Browse latest Browse all 90

Trending Articles



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