HLSL: Difference between revisions
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
[[Category:Programming languages]] | [[Category:Programming languages]] | ||
[[Category:GPU Programming languages]] |
Latest revision as of 16:46, 31 January 2022
High Level Shading Language (HLSL) is the shading language used in DirectX. It is used in Unity and Unreal.
Usage
Minor differences between GLSL and HLSL
float4
instead ofvec4
. This is odd since OpenCL also usesfloat4
.lerp
instead ofmix
.