Quantcast
Channel: Questions in topic: "datatype"
Viewing all articles
Browse latest Browse all 87

cginc definitions vs Docs

$
0
0
In "Lighting.cginc" the "SurfaceOutput" struct (its elements) is defined using "fixed" datatype, but the Unity documentation talks about "half" datatype. According to the docs, "half" is 16bit, "fixed" is 11bit. What is correct? I want to prevent type conversions.

Viewing all articles
Browse latest Browse all 87

Trending Articles



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