Update example.neu

This commit is contained in:
Skye Terran 2021-08-17 21:30:10 -07:00
parent 624344b185
commit 9618a953d1

View File

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