Skip to content

Commit

Permalink
FEATURE: Testing the lighting and tweaking some values.
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoamo committed Nov 1, 2018
1 parent 3010f82 commit 27e2041
Show file tree
Hide file tree
Showing 11 changed files with 1,897 additions and 48 deletions.
2 changes: 1 addition & 1 deletion Bin/data/prefabs/cajetin_cables.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"color": "1.0 0.698039 0.698039 1.0",
"volumetric": true,
"intensity": 0.5,
"casts_shadows": true,
"casts_shadows": false,
"shadows_step": 1.0,
"shadows_resolution": 512,
"shadows_fmt": "R32_TYPELESS"
Expand Down
49 changes: 25 additions & 24 deletions Bin/data/prefabs/capsula_humano.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,27 @@
]
}
}, {
"entity": {
"name": "mesh_capsula_humano",
"transform": {
"pos": "0.0 1.09767 -1.72867"
},
"render":
[{
"mesh": "data/meshes/mesh_capsula_humano.mesh",
"materials":
[
"data/materials/mtl_capsula_humano.material",
"data/materials/mtl_humano_capsula.material"
],
"self_intensity": 0.07
}
],
"abs_aabb": true,
"local_aabb": true
}
},
{
"entity": {
"name": "luz_volume",
"transform": {
Expand All @@ -75,13 +96,13 @@
},
"light_point": {
"type": "pointlight",
"inner_cut": 2.40279,
"outer_cut": 2.87886,
"inner_cut": 0.3,
"outer_cut": 1.6,
"volumetric": true,
"volume_values": "0.4 45 1 1",
"volume_values": "1.1 35 1 1",
"color": "1.0 1.0 0.372549 1.0",
"intensity": 0.7,
"casts_shadows": true,
"casts_shadows": false,
"shadows_step": 1.0,
"shadows_resolution": 512,
"shadows_fmt": "R32_TYPELESS"
Expand All @@ -98,25 +119,5 @@
"light"
]
}
}, {
"entity": {
"name": "mesh_capsula_humano",
"transform": {
"pos": "0.0 1.09767 -1.72867"
},
"render":
[{
"mesh": "data/meshes/mesh_capsula_humano.mesh",
"materials":
[
"data/materials/mtl_capsula_humano.material",
"data/materials/mtl_humano_capsula.material"
],
"self_intensity": 0.07
}
],
"abs_aabb": true,
"local_aabb": true
}
}
]
Loading

0 comments on commit 27e2041

Please sign in to comment.