Files
hwr2024_b/GDP/D3D11/VertexShader.hlsl
T
david 97192e1587 Add input layout
Add matrix buffer
Convert camera to D3D11
2026-11-27 16:08:22 +01:00

9 lines
169 B
HLSL

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