Skip to content

Instantly share code, notes, and snippets.

View Nukem9's full-sized avatar

Nukem Nukem9

  • Charlotte, North Carolina
View GitHub Profile
cbuffer CB
{
matrix View;
matrix Projection;
matrix ViewProjection;
float4 FrustumPlanes[6]; // view-frustum planes in world space (normals face out)
float2 ViewportSize; // Viewport Width and Height in pixels