Skip to content

Instantly share code, notes, and snippets.

@Nukem9
Created October 31, 2017 04:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nukem9/8009d0e761658194514891e871e1277c to your computer and use it in GitHub Desktop.
Save Nukem9/8009d0e761658194514891e871e1277c to your computer and use it in GitHub Desktop.
// RunGrass
// TechniqueID: 0x10004
// Input flags: 0x8AE2BF000F0F0FFF
//
// Technique: VertexL_Billboard_AlphaTest
// Static buffer: Unmapped
cbuffer PerGeometry : register(b0)
{
}
// Static buffer: Unmapped
cbuffer PerMaterial : register(b1)
{
}
// Dynamic buffer: Size = 352 (0x160)
cbuffer PerTechnique : register(b2)
{
float4 WorldViewProj : packoffset(c0); // @ 0 - 0x0000
float4 padding : packoffset(c0); // @ 0 - 0x0000
float4 WorldView : packoffset(c4); // @ 16 - 0x0040
float4 World : packoffset(c8); // @ 32 - 0x0080
float4 PreviousWorld : packoffset(c12); // @ 48 - 0x00C0
float4 FogNearColor : packoffset(c16); // @ 64 - 0x0100
float4 WindVector : packoffset(c17); // @ 68 - 0x0110
float4 WindTimer : packoffset(c17); // @ 71 - 0x011C
float4 DirLightDirection : packoffset(c18); // @ 72 - 0x0120
float4 PreviousWindTimer : packoffset(c18); // @ 75 - 0x012C
float4 DirLightColor : packoffset(c19); // @ 76 - 0x0130
float4 AlphaParam1 : packoffset(c19); // @ 79 - 0x013C
float4 AmbientColor : packoffset(c20); // @ 80 - 0x0140
float4 AlphaParam2 : packoffset(c20); // @ 83 - 0x014C
float4 ScaleMask : packoffset(c21); // @ 84 - 0x0150
}
// void main(...) { ... }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment