Why do tex2dLOD amd tex2dbias want float4 texture coords?


So tex2d needs a u and a v, of course. And tex2dLOD and tex2dbias need an additional argument, and putting it into tex coordinates seems reasonable.

But why float4 instead of float3? Why w instead of z? Is there some use for two-dimensional z coordinates?


Category: hlsl Time: 2016-07-31 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.170 (s). 12 q(s)