I'm trying to research this in Unity manuals online, and I'm finding plenty of references to
.xy but not sure what it is. While this is for Unity, I'm assuming this principal is more generic across all shader systems.
When we have a
float3 variable called
b and we say
b.xy what are we getting?
Is it X * Y?
Is it a
float2, with X & Y passed through? If this is the case, I'm also seeing
b.xy / a.xy and I'm wondering how vector division works in shaders.