Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // A crate with a metal thing
- model "Props/Crate"
- {
- source "crate.mdl"
- // Data buffers
- vbuffer
- {
- group "Metal" { 0, 8 }
- group "Wood" { 8, 32 }
- }
- ibuffer
- {
- group "Metal" { 0, 12 }
- group "Wood" { 12, 60 }
- }
- // Meshes and presets
- mesh "Metal" { "Vertices/Metal", "Indices/Metal", "Materials/Crate/Metal?" }
- mesh "Wood" { "Vertices/Wood", "Indices/Wood", "Materials/Crate/Wood?" }
- // -- //
- model "Default" { "Metal", "Wood" }
- }
Advertisement
Add Comment
Please, Sign In to add comment