Skip to content

cast Shadow #786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 36 additions & 11 deletions examples/3d-car-coin-hunt/3d-car-coin-hunt.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"firstLayout": "Menu",
"gdVersion": {
"build": 231,
"build": 229,
"major": 5,
"minor": 5,
"revision": 0
Expand Down Expand Up @@ -1293,7 +1293,7 @@
"gridColor": 10401023,
"gridAlpha": 0.8,
"snap": false,
"zoomFactor": 0.6455105703311483,
"zoomFactor": 0.5843784410740933,
"windowMask": false
},
"objectsGroups": [
Expand Down Expand Up @@ -2094,6 +2094,8 @@
"crossfadeDuration": 0,
"depth": 74,
"height": 74,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": true,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Sedan Sports.glb",
Expand Down Expand Up @@ -2146,6 +2148,8 @@
"crossfadeDuration": 0,
"depth": 282,
"height": 128,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": false,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Large Building F2.glb",
Expand Down Expand Up @@ -2198,6 +2202,8 @@
"crossfadeDuration": 0,
"depth": 316,
"height": 256,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": false,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Large Building A.glb",
Expand Down Expand Up @@ -2250,6 +2256,8 @@
"crossfadeDuration": 0,
"depth": 84,
"height": 84,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": true,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Suv Luxury5.glb",
Expand Down Expand Up @@ -2302,6 +2310,8 @@
"crossfadeDuration": 0,
"depth": 79,
"height": 79,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": true,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Van2.glb",
Expand Down Expand Up @@ -2389,6 +2399,8 @@
"crossfadeDuration": 0,
"depth": 8,
"height": 384,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": false,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Road Straight.glb",
Expand All @@ -2412,6 +2424,8 @@
"crossfadeDuration": 0,
"depth": 8,
"height": 384,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": false,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Road Crossroad Path.glb",
Expand All @@ -2435,6 +2449,8 @@
"crossfadeDuration": 0,
"depth": 8,
"height": 384,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": false,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Road Intersection Path.glb",
Expand All @@ -2458,6 +2474,8 @@
"crossfadeDuration": 0,
"depth": 8,
"height": 384,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": false,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Road Bend.glb",
Expand Down Expand Up @@ -2510,6 +2528,8 @@
"crossfadeDuration": 0,
"depth": 250,
"height": 250,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": true,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Common Tree 1.glb",
Expand Down Expand Up @@ -2826,6 +2846,8 @@
"crossfadeDuration": 0,
"depth": 31,
"height": 31,
"isCastingShadow": true,
"isReceivingShadow": true,
"keepAspectRatio": true,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Coin.glb",
Expand Down Expand Up @@ -4297,33 +4319,34 @@
],
"effects": [
{
"effectType": "Scene3D::HemisphereLight",
"effectType": "Scene3D::AmbientLight",
"name": "Effect3",
"doubleParameters": {
"elevation": 90,
"intensity": 0.75,
"rotation": 0
"intensity": 0.25
},
"stringParameters": {
"groundColor": "177;177;177",
"skyColor": "255;255;255",
"top": "Z+"
"color": "255;255;255"
},
"booleanParameters": {}
},
{
"effectType": "Scene3D::DirectionalLight",
"name": "Effect",
"doubleParameters": {
"distanceFromCamera": 1500,
"elevation": 45,
"intensity": 0.5,
"frustumSize": 4000,
"intensity": 0.75,
"rotation": 45
},
"stringParameters": {
"color": "255;255;255",
"shadowQuality": "medium",
"top": "Z+"
},
"booleanParameters": {}
"booleanParameters": {
"isCastingShadow": true
}
},
{
"effectType": "Scene3D::ExponentialFog",
Expand Down Expand Up @@ -4651,6 +4674,8 @@
"crossfadeDuration": 0,
"depth": 64,
"height": 64,
"isCastingShadow": false,
"isReceivingShadow": false,
"keepAspectRatio": true,
"materialType": "StandardWithoutMetalness",
"modelResourceName": "Coin.glb",
Expand Down
Loading