unlit generic

This commit is contained in:
Robin Appelman 2023-12-18 19:55:02 +01:00
commit 12793d367c
7 changed files with 89 additions and 2 deletions

View file

@ -28,4 +28,5 @@ lightmappedgeneric(LightMappedGenericMaterial(
r#$envmap: None,
r#$phong: false,
r#$nofog: false,
r#$ignorez: false,
))

View file

@ -0,0 +1,19 @@
---
source: tests/parse.rs
expression: result
---
unlitgeneric(UnlitGenericMaterial(
r#$basetexture: "vgui\\pve\\mvm_backpack",
r#$surfaceprop: None,
r#$model: false,
r#$color: Vec3((1.0, 1.0, 1.0)),
r#$alpha: 1.0,
r#$alphatest: false,
r#$nocull: false,
r#$translucent: true,
r#$ignorez: true,
r#$nofog: false,
r#$receiveflashlight: false,
singlepassflashlight: false,
r#$no_fullbright: true,
))