Skip to content

Instantly share code, notes, and snippets.

@ryutorion
Created March 18, 2020 13:35
Show Gist options
  • Save ryutorion/2d85307766eb8bae9abd9ad7a6aebb9a to your computer and use it in GitHub Desktop.
Save ryutorion/2d85307766eb8bae9abd9ad7a6aebb9a to your computer and use it in GitHub Desktop.
cbuffer model
{
float4x3 world;
};
float4 VS(float4 position : POSITION) : SV_POSITION
{
return float4(mul(position, world), 1.0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment