Update example.neu

This commit is contained in:
Skye Terran 2021-08-17 21:30:10 -07:00
parent 624344b185
commit 9618a953d1
1 changed files with 9 additions and 12 deletions

View File

@ -23,16 +23,12 @@ graph = {
&0: object = {
name: string = "SM_LargeWindow_A",
mesh: mesh = *2,
transform: trans = {
position: vec3 = #8,
rotation: vec3 = #8,
scale: vec3 = #9,
}
transform: trans = #b
},
&1: object = {
name: string = "SM_LargeWindow_A2",
mesh: mesh = *2,
transform: trans = *3
transform: trans = #b
}
},
// assets used by the scene
@ -41,11 +37,6 @@ graph = {
source: path = "/Assets/Props/LargeWindowA.obj",
materials: [mat] = [*4]
},
&3: trans {
position: vec3 = #8,
rotation: vec3 = #8,
scale: vec3 = #9
},
&4: mat {
name: string = "Simple Glass",
parent: shader = *7,
@ -80,5 +71,11 @@ cache {
// this vector is common as a scale value
&9: vec3 = (1.0, 1.0, 1.0),
// this vector is common as a normal value
&a: vec4 = (0.5, 0.5, 1.0, 1.0)
&a: vec4 = (0.5, 0.5, 1.0, 1.0),
// this transform is common because it's the default
&b: trans = {
position: vec3 = #8,
rotation: vec3 = #8,
scale: vec3 = #9
}
}