Files
hwr2024_a/GDP/D3D11/VertexShader.hlsl
T
david c6fdf567b7 Add matrix buffer
Convert camera to D3D11
Add world, view & projection matrix exposing
2026-11-27 12:17:17 +01:00

9 lines
169 B
HLSL

cbuffer MatrixBuffer
{
float4x4 WorldViewProjectionMatrix;
};
float4 main( float4 pos : POSITION ) : SV_POSITION
{
return mul(pos, WorldViewProjectionMatrix);
}