Skip to content
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

Shadows #3856

Merged
merged 310 commits into from
May 29, 2016
Merged

Shadows #3856

Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
310 commits
Select commit Hold shift + click to select a range
1a6a07b
Merge branch 'master' into shadows
lilleyse Mar 9, 2016
5190927
Fit to scene near and far
lilleyse Mar 8, 2016
7c0cb2c
Rename farPlane to distance
lilleyse Mar 8, 2016
5759fa3
Change lamda to 1.0
lilleyse Mar 9, 2016
9b25230
Rename fitToScene to cascadesEnabled
lilleyse Mar 9, 2016
11bdd01
Reorganize for point lights
lilleyse Mar 10, 2016
3da9583
Support point lights
lilleyse Mar 15, 2016
4876a80
Fallback if depth FBO fails
lilleyse Mar 16, 2016
e2f05f6
Use cube map for point light shadows
lilleyse Mar 17, 2016
692750b
Combine uniforms
lilleyse Mar 17, 2016
9310f79
Merge pull request #3718 from AnalyticalGraphicsInc/shadows-point-light2
pjcozzi Mar 17, 2016
0fe2fd5
Handle shadow near/far better
lilleyse Mar 15, 2016
b4c2a3b
Add TODO
lilleyse Mar 15, 2016
9726ff4
Use separate fbo for each cubemap face
lilleyse Mar 18, 2016
7a5ec46
Rename sunShadowMap to shadowMap
lilleyse Mar 18, 2016
a98cbe8
Only update point light cameras when point light moves
lilleyse Mar 18, 2016
15c0362
Remove extra line
lilleyse Mar 18, 2016
162e5d0
Destroy fbo resources correctly for cube maps
lilleyse Mar 18, 2016
3ebb190
Make render states immutable
lilleyse Mar 18, 2016
1acd59f
Small tweak
lilleyse Mar 18, 2016
a471f00
Merge pull request #3711 from AnalyticalGraphicsInc/shadows-point-light
bagnell Mar 18, 2016
c34739f
Simplify non-cube-map point shadows by always using a color texture
lilleyse Mar 21, 2016
1c18a56
Added pcf shadows
lilleyse Mar 21, 2016
01d86c1
Make softShadows public
lilleyse Mar 21, 2016
87b5c3f
Rename stepSize to texelStepSize
lilleyse Mar 21, 2016
294e874
Merge pull request #3731 from AnalyticalGraphicsInc/shadows-soft
bagnell Mar 21, 2016
9ea57e4
Cleanup shader code
lilleyse Mar 22, 2016
6269e1a
Separate shaders for easier readability
lilleyse Mar 22, 2016
da584b1
Reset globe shaders when shadow map demo changes
lilleyse Mar 22, 2016
b74db10
Tweak
lilleyse Mar 22, 2016
e5ae12e
Merge pull request #3749 from AnalyticalGraphicsInc/shadows-cleanup
pjcozzi Mar 22, 2016
ba5042d
Merge pull request #3753 from AnalyticalGraphicsInc/shadows-globe-sha…
pjcozzi Mar 22, 2016
a35a7c5
Added graying out for UI options as in #3755
lasalvavida Mar 23, 2016
6d1836a
Changed the UI enable/disable to use knockout
lasalvavida Mar 23, 2016
74c9423
Merge branch 'shadows' of github.com:AnalyticalGraphicsInc/cesium int…
lasalvavida Mar 23, 2016
0fa4ab7
Fixed the error in the dropdowns and checkboxes and a few style changes
Mar 23, 2016
399f786
Missing semicolon
lilleyse Mar 23, 2016
ce1260f
Merge pull request #3761 from lasalvavida/shadows-sandcastle-ui
lilleyse Mar 23, 2016
c5a8266
Add normal biasing to improve terrain shadows and add biasing options…
lilleyse Mar 24, 2016
a3c6424
Fade out shadow map
lilleyse Mar 24, 2016
4e06072
Added UI options for switching models and locations
lasalvavida Mar 25, 2016
1941cea
Removed empty table row
lasalvavida Mar 25, 2016
58f16c9
Merge pull request #3773 from lasalvavida/shadows-sandcastle-ui
lilleyse Mar 25, 2016
a0255d2
Fix point shadow shader
lilleyse Mar 24, 2016
93961fb
Merge branch 'shadows' into shadows-terrain-aliasing
lilleyse Mar 25, 2016
b3c0b8f
Merge branch 'master' into shadows
lilleyse Mar 25, 2016
22e3d84
No longer need to pass shadow map into UniformState.update
lilleyse Mar 25, 2016
2b28265
Use different bias parameters for terrain and primitives
lilleyse Mar 28, 2016
fddd9d1
Added more sample models and locations, and added point light biasing…
lilleyse Mar 28, 2016
db6026e
Merge branch 'shadows' into shadows-terrain-aliasing
lilleyse Mar 28, 2016
3e5a10e
Added support for spot lights
lilleyse Mar 30, 2016
6baeee8
Remove visibility check for now
lilleyse Mar 30, 2016
42867f2
Random point light fixes
lilleyse Mar 30, 2016
ededdf0
Support exponential shadow maps, without perfiltering
lilleyse Mar 30, 2016
d5a6a24
Remove procedural shadow receiver code to GLSL files that are
bagnell Mar 31, 2016
0558e39
Merge branch 'shadows-terrain-aliasing' into shadows-shaders
bagnell Mar 31, 2016
4c50abb
Update after merge.
bagnell Mar 31, 2016
4804dbe
Remove unused file.
bagnell Mar 31, 2016
5772061
Fix terrain casting for point shadows
lilleyse Mar 31, 2016
0d4d6bc
Merge branch 'shadows-terrain-aliasing' into shadows-shaders
bagnell Mar 31, 2016
335c3d8
Merge branch 'master' into shadows-terrain-aliasing
lilleyse Mar 31, 2016
dcabbf7
Make cube map texture coordinates to 2D texture coordinates a built-i…
bagnell Mar 31, 2016
60a2099
Factor out some code common to all light types.
bagnell Mar 31, 2016
048c264
Move shadow bias options to uniforms.
bagnell Mar 31, 2016
74bfe19
Don't cast shadows when picking
lilleyse Apr 1, 2016
907d46a
Small fixes
lilleyse Apr 1, 2016
be7bade
Added city-like model
lilleyse Apr 1, 2016
0b7138e
Fix globe shadow flickering by using more precise v_positionEC
lilleyse Apr 1, 2016
995063e
Use maximum depth instead of the last cascade depth to prevent early …
lilleyse Apr 1, 2016
1c94955
Merge branch 'master' into shadows
lilleyse Apr 1, 2016
ed8bd4b
Merge branch 'shadows' into shadows-terrain-aliasing
lilleyse Apr 1, 2016
e172d18
Remove shadow map automatic uniforms in favor of per-shadow map unifo…
bagnell Apr 1, 2016
e93fecf
Merge branch 'shadows-terrain-aliasing' into shadows-shaders
bagnell Apr 4, 2016
f81b190
Add some unit tests for new built-in GLSL functions.
bagnell Apr 4, 2016
7ee7c8e
Merge branch 'shadows-shaders' into shadows-uniforms
bagnell Apr 4, 2016
d17b1c5
Fix uniform declaration in shadow receive shader and update debug shadow
bagnell Apr 4, 2016
79cee33
Remove shadowMap property from UniformState.
bagnell Apr 4, 2016
086b6f1
Fix defines
lilleyse Apr 4, 2016
715b615
Fix cascade colors
lilleyse Apr 5, 2016
b8b81e8
Formatting
lilleyse Apr 5, 2016
a66edd0
Remove line
lilleyse Apr 5, 2016
7ee8b1e
Merge pull request #3794 from AnalyticalGraphicsInc/shadows-shaders
lilleyse Apr 5, 2016
872887d
Add UI options for globe visible and terrain enabled
lilleyse Apr 4, 2016
40355e5
Draw debug outlines for cameras and spot lights
lilleyse Apr 5, 2016
7921031
Merge pull request #3765 from AnalyticalGraphicsInc/shadows-terrain-a…
bagnell Apr 5, 2016
e8a6506
Merge branch 'shadows' into shadows-uniforms
bagnell Apr 5, 2016
f67bedc
Updates after merge.
bagnell Apr 6, 2016
0182314
Fix viewport quad for point lights.
bagnell Apr 6, 2016
91e5fb6
Remove unused automatic glsl function.
bagnell Apr 6, 2016
17703b6
Pack some of the shadow uniforms.
bagnell Apr 6, 2016
ed73322
Remove uniforms from built-in functions.
bagnell Apr 6, 2016
ec31d22
Move shadowMapMaximumDistance
lilleyse Apr 7, 2016
3430d8a
Fix resetting globe
lilleyse Apr 7, 2016
be8903a
Remove unneeded getters
lilleyse Apr 7, 2016
f58ded2
Cull shadow commands
lilleyse Apr 7, 2016
cd5d935
Use scratch variables when setting shadow uniforms.
bagnell Apr 7, 2016
9186a74
Merge pull request #3809 from AnalyticalGraphicsInc/shadows-uniforms
lilleyse Apr 7, 2016
d02af2b
Merge branch 'master' into shadows-derived
bagnell Apr 7, 2016
7b943e8
Merge branch 'shadows' into shadows-commands
lilleyse Apr 7, 2016
06ef64e
Shadows derived commands WIP.
bagnell Apr 7, 2016
9dbb5c3
Use numberOfPasses
lilleyse Apr 7, 2016
c5056eb
Derived shadows commands WIP.
bagnell Apr 7, 2016
ae48196
Fix precision issues with spot lights
lilleyse Apr 7, 2016
cc09976
getTerrainShadowCommands temp
lilleyse Apr 8, 2016
b6782a1
Fix derived commands for casting shadows.
bagnell Apr 8, 2016
7496e43
Add temporary fix for receiving shadows on terrain.
bagnell Apr 8, 2016
1f35060
Improve performance/clean up shadow derived command creation.
bagnell Apr 8, 2016
420f7c6
Clean up additional primitive shadow management code. All that is needed
bagnell Apr 8, 2016
f2c57dd
Fix translucent shadow receivers... sort of.
bagnell Apr 8, 2016
4dd182b
Check terrain shader defines for position and normal varyings.
bagnell Apr 11, 2016
b5c45ea
Added a test version of getTerrainShadowCommands
lilleyse Apr 8, 2016
def5187
Added radiusSquared
lilleyse Apr 11, 2016
40a68bc
Added grid button
lilleyse Apr 11, 2016
0582b1f
Check when shadow map is out of view and needs update
lilleyse Apr 8, 2016
89e3520
Merge branch 'master' into shadows
lilleyse Apr 11, 2016
86dbe8a
Merge branch 'master' into shadows-derived
lilleyse Apr 11, 2016
7663acb
Merge branch 'shadows' into shadows-derived
lilleyse Apr 11, 2016
6babfbd
Merge branch 'shadows-commands' into shadows-multiple
bagnell Apr 11, 2016
f886f4d
Cleanup
lilleyse Apr 12, 2016
a462328
Make combineUniforms a local function
lilleyse Apr 12, 2016
bdab5c7
Organize createShadowCastFragmentShader
lilleyse Apr 12, 2016
c30e606
Add TODO for 3d-tiles
lilleyse Apr 12, 2016
3b9bffa
Add back terrain normals when receiving shadows.
bagnell Apr 12, 2016
72468ab
Changes based on review.
bagnell Apr 12, 2016
916050d
Merge branch 'shadows-derived' into shadows-merged
bagnell Apr 12, 2016
249322a
Merge branch 'shadows-commands' into shadows-merged
bagnell Apr 12, 2016
21f79df
Temporarily disable globe update when getting terrain commands.
bagnell Apr 12, 2016
8648679
Move around shadow map and globe updates. Make an array of shadow maps.
bagnell Apr 12, 2016
aba1981
Add ability to render to multiple shadow maps.
bagnell Apr 12, 2016
cd647c2
Merge pull request #3828 from AnalyticalGraphicsInc/shadows-derived
lilleyse Apr 12, 2016
465d88a
Rename pass to shadowPass
lilleyse Apr 12, 2016
32afa8e
Change angle check from 0.1 to 0.05
lilleyse Apr 12, 2016
481b239
Merge branch 'shadows' into shadows-commands
lilleyse Apr 12, 2016
bd98b6b
Add Sandcastle example to for multiple shadow maps and demonstrates t…
bagnell Apr 12, 2016
b3c5fcf
Merge branch 'shadows' into shadows-multiple
bagnell Apr 12, 2016
16da6a8
Add temporary fix for shadow casters
lilleyse Apr 13, 2016
6471382
Prevent crash when shadow map is not enabled
lilleyse Apr 13, 2016
8409ee6
Fix positionCartographic
lilleyse Apr 12, 2016
de6192e
Reduce terrain aliasing
lilleyse Apr 12, 2016
7436308
Improve shadow quality for the closest cascade
lilleyse Apr 12, 2016
0d1b1f1
Model can toggle casting or receiving shadows at runtime
lilleyse Apr 12, 2016
fee0316
Remove renderState getters
lilleyse Apr 13, 2016
282e963
Don't render terrain skirts for shadow casters
lilleyse Apr 13, 2016
b756123
Change Camera back to inverseTransformation
lilleyse Apr 13, 2016
833f158
Remove unneeded normalize in GlobeFS
lilleyse Apr 13, 2016
9cb906f
Turn off normal shading if cast shadows is false
lilleyse Apr 13, 2016
4f1b65e
Added button for terrain receive shadows
lilleyse Apr 13, 2016
6407d78
Fix visibility check after 0582b1f
lilleyse Apr 13, 2016
49cb616
Fix broken 2d view
lilleyse Apr 13, 2016
2cffb31
Add more model position options, including space
lilleyse Apr 13, 2016
1bd1c37
Slight bias tweaks
lilleyse Apr 13, 2016
f1ede3c
Merge branch 'shadows-commands' into shadows-multiple
bagnell Apr 14, 2016
5677298
Revert changes to shadows Sandcastle example.
bagnell Apr 14, 2016
e59ef50
Updates after merge.
bagnell Apr 14, 2016
9ef9d74
Merge pull request #3848 from AnalyticalGraphicsInc/shadows-misc
bagnell Apr 14, 2016
ad94eb8
Merge branch 'shadows-commands' into shadows-multiple
bagnell Apr 14, 2016
1b89577
Update after merge.
bagnell Apr 14, 2016
524e431
Formatting
lilleyse Apr 14, 2016
6198cfb
Remove FrameState.shadowMap
lilleyse Apr 14, 2016
9c6f37f
Remove TODO
lilleyse Apr 14, 2016
5538b42
Fix camera clone bug
lilleyse Apr 14, 2016
ba3a661
Tweak point light bias
lilleyse Apr 14, 2016
df04f64
Added shadow darkness uniform
lilleyse Apr 14, 2016
5626da7
Increase default maximum shadow distance
lilleyse Apr 14, 2016
21faca4
Added model with transparent texture
lilleyse Apr 15, 2016
a28d349
Only set maximum cascade sizes when the scene camera is close
lilleyse Apr 15, 2016
1abfe29
Merge pull request #3852 from AnalyticalGraphicsInc/shadows-multiple
lilleyse Apr 15, 2016
cf89f82
Merge pull request #3855 from AnalyticalGraphicsInc/shadows-misc
bagnell Apr 15, 2016
ebc10e8
Merge pull request #3819 from AnalyticalGraphicsInc/shadows-commands
bagnell Apr 15, 2016
410a67f
Merge branch 'master' into shadows
lilleyse Apr 15, 2016
2bc9ef6
Whitespace
pjcozzi Apr 17, 2016
ff496a3
Style tweak
pjcozzi Apr 17, 2016
0bec97d
Address shadow PR comments
lilleyse Apr 15, 2016
b4329bf
Add _maximumCascadeDistances
lilleyse Apr 18, 2016
d562705
Remove exponential shadow maps
lilleyse Apr 18, 2016
425eaf8
Change uniform prefix
lilleyse Apr 18, 2016
a07275c
Move comment out of shader source
lilleyse Apr 18, 2016
6f581c3
Modify depth bias to prevent z-fighting
lilleyse Apr 19, 2016
6ac19e1
Remove shadowDistance from shaders
lilleyse Apr 19, 2016
2688045
Combine shadows with vertex lighting for better night shading
lilleyse Apr 19, 2016
195e600
Merge branch 'master' into shadows
bagnell Apr 19, 2016
434dbed
Simplify Sandcastle
lilleyse Apr 19, 2016
0c8fe3d
Tweak cascade maxes for more detail near smaller objects
lilleyse Apr 20, 2016
32956e5
Add back rendering skirts when casting shadows.
bagnell Apr 21, 2016
c5f0f98
Merge pull request #3871 from AnalyticalGraphicsInc/shadows-skirts
lilleyse Apr 21, 2016
28394ff
Make default shadow map size 2048 and fall back to 1024.
bagnell Apr 21, 2016
34f7872
Move default size check to setSize.
bagnell Apr 22, 2016
7b23493
Create culling volume from bounding sphere for point lights.
bagnell Apr 22, 2016
975e9fa
Compute culling planes manually.
bagnell Apr 22, 2016
3a62fae
Organization and removed _shadowMapSize
lilleyse Apr 22, 2016
ecec509
Merge pull request #3872 from AnalyticalGraphicsInc/shadows-default-size
lilleyse Apr 22, 2016
3957a62
Add maxmimumDistance to ShadowMap options
lilleyse Apr 22, 2016
5739855
Add shadow properties to Viewer and Entity
lilleyse Apr 22, 2016
68b878e
Merge pull request #3875 from AnalyticalGraphicsInc/shadows-entity
pjcozzi Apr 22, 2016
4a2c81e
Remove czm_cubeMapToUV spec check
lilleyse Apr 22, 2016
fc3fd7b
Merge branch 'master' into shadows
bagnell May 11, 2016
bb56929
Fix failing spec
lilleyse May 11, 2016
47e917a
Merge branch 'shadows' into point-culling-volume
bagnell May 12, 2016
a3b1e4c
Add tests for culling volume constructed from bounding sphere.
bagnell May 12, 2016
75b6b61
Add doc and test developer errors for required parameters.
bagnell May 12, 2016
fecb4d5
Don't be so strict with updating cascaded shadows since in most cases…
lilleyse May 12, 2016
36c5071
Merge branch 'bounding-sphere-culling-volume' into point-culling-volume
bagnell May 12, 2016
5310657
Merge branch 'shadows' into point-culling-volume
bagnell May 12, 2016
d621ee0
Merge branch 'master' into shadows
bagnell May 12, 2016
9027b9c
Merge branch 'shadows' into point-culling-volume
bagnell May 12, 2016
5240533
Fix jsHint errors.
mramato May 13, 2016
0f71243
Use culling volume from point light bounding sphere to cull primitives.
bagnell May 13, 2016
ccda0e0
Merge branch 'master' into shadows
bagnell May 13, 2016
4e6522e
Merge branch 'shadows' into point-culling-volume
bagnell May 13, 2016
9b0135c
Update the globe for each face of the shadow cube map.
bagnell May 13, 2016
2225059
Update derived commands when shadow maps are dirty
lilleyse May 13, 2016
62e281f
Tweaked some descriptions
lilleyse May 16, 2016
dd1f7ac
Added terrainEnabled property to viewer
lilleyse May 16, 2016
6759ba3
Disable shadow updates during pick pass
lilleyse May 18, 2016
7e1e66e
Merge pull request #3929 from AnalyticalGraphicsInc/shadows-picking-fix2
pjcozzi May 18, 2016
118f9ac
Merge pull request #3931 from AnalyticalGraphicsInc/shadows-viewer
pjcozzi May 18, 2016
32f25f3
Added simple shadows sandcastle
lilleyse Apr 22, 2016
37d92e0
Added Sandcastle image
lilleyse May 13, 2016
a93f019
Update Sandcastle
lilleyse May 18, 2016
ba4b10d
Updated CHANGES.md
lilleyse May 18, 2016
2e92beb
Vertically align buttons
lilleyse May 18, 2016
0d39ddc
Merge pull request #3876 from AnalyticalGraphicsInc/shadows-simple-sa…
pjcozzi May 19, 2016
fa0bb0d
Merge branch 'shadows' into point-culling-volume
bagnell May 23, 2016
4e571c8
Merge pull request #3918 from AnalyticalGraphicsInc/point-culling-volume
lilleyse May 23, 2016
9baca72
Fixed up private variables in doc
lilleyse May 19, 2016
b995e91
Most of the shadows tests
lilleyse May 25, 2016
320d3a8
Add globe tests
lilleyse May 26, 2016
dc643c0
Avoid using the same globe
lilleyse May 26, 2016
366558a
Remove unused ShadowMap getters
lilleyse May 26, 2016
0e859eb
Merge pull request #3958 from AnalyticalGraphicsInc/shadows-tests
pjcozzi May 26, 2016
a713da7
Update derived commands even if shadow is not visible. The shadowsDir…
bagnell May 27, 2016
49f44e7
Don't use outOfView anymore
lilleyse May 27, 2016
2ddf6d9
Merge pull request #3969 from AnalyticalGraphicsInc/shadows-derived
lilleyse May 27, 2016
cdf0a72
Fix IE tests
lilleyse May 27, 2016
fe0b5d1
Set polygonOffset to false for point lights
lilleyse May 27, 2016
3e8b839
Handle incomplete FBO
lilleyse May 28, 2016
65219f8
Cleanup globe shadows and shadowsEnabled
lilleyse May 28, 2016
6d4a410
Fix depth aliasing
lilleyse May 28, 2016
13cbcd7
Merge branch 'master' into shadows
lilleyse May 28, 2016
756ed36
Remove TODO
lilleyse May 28, 2016
511f5d1
Merge pull request #3973 from AnalyticalGraphicsInc/shadows-ie-tests
pjcozzi May 28, 2016
3214936
Fix whitespace
pjcozzi May 28, 2016
b38d1a1
Whitespace
pjcozzi May 28, 2016
0963097
Style tweak
pjcozzi May 28, 2016
c21ae31
Style tweaks
pjcozzi May 28, 2016
42dad26
Many small updates
lilleyse May 28, 2016
c688b0a
Fix FBO incomplete error
lilleyse May 28, 2016
73c6631
Tweaks
lilleyse May 28, 2016
c8288b4
Depth fix
lilleyse May 29, 2016
4713e12
Merge branch 'master' into shadows
lilleyse May 29, 2016
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
270 changes: 270 additions & 0 deletions Apps/SampleData/models/ShadowTester/Shadow_Tester.gltf

Large diffs are not rendered by default.

270 changes: 270 additions & 0 deletions Apps/SampleData/models/ShadowTester/Shadow_Tester_2.gltf

Large diffs are not rendered by default.

270 changes: 270 additions & 0 deletions Apps/SampleData/models/ShadowTester/Shadow_Tester_3.gltf

Large diffs are not rendered by default.

268 changes: 268 additions & 0 deletions Apps/SampleData/models/ShadowTester/Shadow_Tester_4.gltf

Large diffs are not rendered by default.

270 changes: 270 additions & 0 deletions Apps/SampleData/models/ShadowTester/Shadow_Tester_Point.gltf

Large diffs are not rendered by default.

325 changes: 325 additions & 0 deletions Apps/SampleData/models/ShadowTester/Shadow_Transparent.gltf
Original file line number Diff line number Diff line change
@@ -0,0 +1,325 @@
{
"accessors": {
"accessor_21": {
"bufferView": "bufferView_29",
"byteOffset": 0,
"byteStride": 0,
"componentType": 5123,
"count": 36,
"type": "SCALAR"
},
"accessor_23": {
"bufferView": "bufferView_30",
"byteOffset": 0,
"byteStride": 12,
"componentType": 5126,
"count": 36,
"max": [
5.477869987487793,
5.477869987487793,
5.477869987487793
],
"min": [
-5.477869987487793,
-5.477869987487793,
-5.477869987487793
],
"type": "VEC3"
},
"accessor_25": {
"bufferView": "bufferView_30",
"byteOffset": 432,
"byteStride": 12,
"componentType": 5126,
"count": 36,
"max": [
1,
1,
1
],
"min": [
-1,
-1,
-1
],
"type": "VEC3"
},
"accessor_27": {
"bufferView": "bufferView_30",
"byteOffset": 864,
"byteStride": 8,
"componentType": 5126,
"count": 36,
"max": [
1,
1
],
"min": [
0,
0
],
"type": "VEC2"
}
},
"animations": {},
"asset": {
"generator": "collada2gltf@",
"premultipliedAlpha": true,
"profile": {
"api": "WebGL",
"version": "1.0.2"
},
"version": "1.0"
},
"bufferViews": {
"bufferView_29": {
"buffer": "Shadow_Transparent",
"byteLength": 72,
"byteOffset": 0,
"target": 34963
},
"bufferView_30": {
"buffer": "Shadow_Transparent",
"byteLength": 1152,
"byteOffset": 72,
"target": 34962
}
},
"buffers": {
"Shadow_Transparent": {
"byteLength": 1224,
"type": "arraybuffer",
"uri": "data:application/octet-stream;base64,AAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAA4ADwAQABEAEgATABQAFQAWABcAGAAZABoAGwAcAB0AHgAfACAAIQAiACMAtkqvwLZKr0C2Sq9AtkqvwLZKr0C2Sq/AtkqvwLZKr8C2Sq/AtkqvQLZKr0C2Sq9AtkqvQLZKr0C2Sq/AtkqvwLZKr0C2Sq/AtkqvQLZKr8C2Sq9AtkqvQLZKr8C2Sq/AtkqvQLZKr0C2Sq/AtkqvwLZKr8C2Sq9AtkqvwLZKr8C2Sq/AtkqvQLZKr8C2Sq/AtkqvwLZKr0C2Sq/AtkqvQLZKr0C2Sq/AtkqvQLZKr8C2Sq/AtkqvQLZKr0C2Sq9AtkqvwLZKr0C2Sq9AtkqvwLZKr8C2Sq9AtkqvwLZKr8C2Sq9AtkqvwLZKr0C2Sq9AtkqvwLZKr8C2Sq/AtkqvwLZKr0C2Sq9AtkqvQLZKr0C2Sq9AtkqvwLZKr0C2Sq/AtkqvQLZKr0C2Sq9AtkqvQLZKr8C2Sq9AtkqvQLZKr0C2Sq/AtkqvQLZKr8C2Sq9AtkqvwLZKr8C2Sq9AtkqvQLZKr8C2Sq/AtkqvwLZKr8C2Sq/AtkqvwLZKr0C2Sq/AtkqvQLZKr8C2Sq/AtkqvQLZKr8C2Sq9AtkqvQLZKr0C2Sq9AtkqvwLZKr8C2Sq9AAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAAAAAAAAgD8AAIA/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/AACAPwAAAAAAAAAA"
}
},
"images": {
"transparent_png": {
"name": "transparent_png",
"uri": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AQPDyY2cEtWNAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAA/klEQVR42u3UwQkAIAwEwSjpv+VYgp+AojMF5HEsGRVRwbemCQSAABAAAkAACAABIAAEgAAQAAJAAAgAAfCcbLozTHlM+QAIAAEgAASAABAAAkAACAABIAAEgAAQAAJAAAgAASAABCAABIAAEAACQAAIAAEgAASAABAAAkAACAABIAAEgAAQAAJAAAgAASAABIAAEAACQAAIAAEgAASAABAAAkAACAABIAAEgAAQAAJAAAgAASAABIAAEAACQAAIAAEgAASAABAAAkAACAABIAAEgAAQAAJAAAgAASAABMBWNt0pU/oACAABIAAEgAAQAAJAAAgAASAABIAAuMkCvXoFAaBKcrIAAAAASUVORK5CYII="
}
},
"materials": {
"Material_001-effect": {
"name": "Material_001",
"technique": "technique0",
"values": {
"ambient": [
0,
0,
0,
1
],
"diffuse": "texture_transparent_png",
"emission": [
0,
0,
0,
1
],
"shininess": 50,
"specular": [
0.5,
0.5,
0.5,
1
]
}
}
},
"meshes": {
"Cube_001-mesh": {
"name": "Cube.001",
"primitives": [
{
"attributes": {
"NORMAL": "accessor_25",
"POSITION": "accessor_23",
"TEXCOORD_0": "accessor_27"
},
"indices": "accessor_21",
"material": "Material_001-effect",
"mode": 4
}
]
}
},
"nodes": {
"Cube": {
"children": [],
"matrix": [
1,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1
],
"meshes": [
"Cube_001-mesh"
],
"name": "Cube"
},
"node_1": {
"children": [
"Cube"
],
"matrix": [
1,
0,
0,
0,
0,
0,
-1,
0,
0,
1,
0,
0,
0,
0,
0,
1
],
"name": "Y_UP_Transform"
}
},
"programs": {
"program_0": {
"attributes": [
"a_normal",
"a_position",
"a_texcoord0"
],
"fragmentShader": "Shadow_Transparent0FS",
"vertexShader": "Shadow_Transparent0VS"
}
},
"samplers": {
"sampler_0": {
"magFilter": 9729,
"minFilter": 9729,
"wrapS": 10497,
"wrapT": 10497
}
},
"scene": "defaultScene",
"scenes": {
"defaultScene": {
"nodes": [
"node_1"
]
}
},
"shaders": {
"Shadow_Transparent0FS": {
"type": 35632,
"uri": "data:text/plain;base64,cHJlY2lzaW9uIGhpZ2hwIGZsb2F0Owp2YXJ5aW5nIHZlYzMgdl9ub3JtYWw7CnVuaWZvcm0gdmVjNCB1X2FtYmllbnQ7CnZhcnlpbmcgdmVjMiB2X3RleGNvb3JkMDsKdW5pZm9ybSBzYW1wbGVyMkQgdV9kaWZmdXNlOwp1bmlmb3JtIHZlYzQgdV9lbWlzc2lvbjsKdW5pZm9ybSB2ZWM0IHVfc3BlY3VsYXI7CnVuaWZvcm0gZmxvYXQgdV9zaGluaW5lc3M7CnZvaWQgbWFpbih2b2lkKSB7CnZlYzMgbm9ybWFsID0gbm9ybWFsaXplKHZfbm9ybWFsKTsKdmVjNCBjb2xvciA9IHZlYzQoMC4sIDAuLCAwLiwgMC4pOwp2ZWM0IGRpZmZ1c2UgPSB2ZWM0KDAuLCAwLiwgMC4sIDEuKTsKdmVjNCBlbWlzc2lvbjsKdmVjNCBhbWJpZW50Owp2ZWM0IHNwZWN1bGFyOwphbWJpZW50ID0gdV9hbWJpZW50OwpkaWZmdXNlID0gdGV4dHVyZTJEKHVfZGlmZnVzZSwgdl90ZXhjb29yZDApOwplbWlzc2lvbiA9IHVfZW1pc3Npb247CnNwZWN1bGFyID0gdV9zcGVjdWxhcjsKZGlmZnVzZS54eXogKj0gbWF4KGRvdChub3JtYWwsdmVjMygwLiwwLiwxLikpLCAwLik7CmNvbG9yLnh5eiArPSBkaWZmdXNlLnh5ejsKY29sb3IueHl6ICs9IGVtaXNzaW9uLnh5ejsKY29sb3IgPSB2ZWM0KGNvbG9yLnJnYiAqIGRpZmZ1c2UuYSwgZGlmZnVzZS5hKTsKZ2xfRnJhZ0NvbG9yID0gY29sb3I7Cn0K"
},
"Shadow_Transparent0VS": {
"type": 35633,
"uri": "data:text/plain;base64,cHJlY2lzaW9uIGhpZ2hwIGZsb2F0OwphdHRyaWJ1dGUgdmVjMyBhX3Bvc2l0aW9uOwphdHRyaWJ1dGUgdmVjMyBhX25vcm1hbDsKdmFyeWluZyB2ZWMzIHZfbm9ybWFsOwp1bmlmb3JtIG1hdDMgdV9ub3JtYWxNYXRyaXg7CnVuaWZvcm0gbWF0NCB1X21vZGVsVmlld01hdHJpeDsKdW5pZm9ybSBtYXQ0IHVfcHJvamVjdGlvbk1hdHJpeDsKYXR0cmlidXRlIHZlYzIgYV90ZXhjb29yZDA7CnZhcnlpbmcgdmVjMiB2X3RleGNvb3JkMDsKdm9pZCBtYWluKHZvaWQpIHsKdmVjNCBwb3MgPSB1X21vZGVsVmlld01hdHJpeCAqIHZlYzQoYV9wb3NpdGlvbiwxLjApOwp2X25vcm1hbCA9IHVfbm9ybWFsTWF0cml4ICogYV9ub3JtYWw7CnZfdGV4Y29vcmQwID0gYV90ZXhjb29yZDA7CmdsX1Bvc2l0aW9uID0gdV9wcm9qZWN0aW9uTWF0cml4ICogcG9zOwp9Cg=="
}
},
"skins": {},
"techniques": {
"technique0": {
"attributes": {
"a_normal": "normal",
"a_position": "position",
"a_texcoord0": "texcoord0"
},
"parameters": {
"ambient": {
"type": 35666
},
"diffuse": {
"type": 35678
},
"emission": {
"type": 35666
},
"modelViewMatrix": {
"semantic": "MODELVIEW",
"type": 35676
},
"normal": {
"semantic": "NORMAL",
"type": 35665
},
"normalMatrix": {
"semantic": "MODELVIEWINVERSETRANSPOSE",
"type": 35675
},
"position": {
"semantic": "POSITION",
"type": 35665
},
"projectionMatrix": {
"semantic": "PROJECTION",
"type": 35676
},
"shininess": {
"type": 5126
},
"specular": {
"type": 35666
},
"texcoord0": {
"semantic": "TEXCOORD_0",
"type": 35664
}
},
"program": "program_0",
"states": {
"enable": [
2929,
3042
],
"functions": {
"blendEquationSeparate": [
32774,
32774
],
"blendFuncSeparate": [
1,
771,
1,
771
],
"depthMask": false
}
},
"uniforms": {
"u_ambient": "ambient",
"u_diffuse": "diffuse",
"u_emission": "emission",
"u_modelViewMatrix": "modelViewMatrix",
"u_normalMatrix": "normalMatrix",
"u_projectionMatrix": "projectionMatrix",
"u_shininess": "shininess",
"u_specular": "specular"
}
}
},
"textures": {
"texture_transparent_png": {
"format": 6408,
"internalFormat": 6408,
"sampler": "sampler_0",
"source": "transparent_png",
"target": 3553,
"type": 5121
}
}
}
Loading