We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac8d987 commit 8c747f0Copy full SHA for 8c747f0
examples/src/examples/physics/falling-shapes.tsx
@@ -81,7 +81,7 @@ class FallingShapesExample extends Example {
81
color: new pc.Color(1, 1, 1),
82
castShadows: true,
83
shadowBias: 0.2,
84
- shadowDistance: 16,
+ shadowDistance: 25,
85
normalOffsetBias: 0.05,
86
shadowResolution: 2048
87
});
@@ -111,7 +111,7 @@ class FallingShapesExample extends Example {
111
// helper function which creates a template for a collider
112
const createTemplate = function (type: any, collisionOptions: any, template?: any) {
113
114
- // add a model component (visible mesh)
+ // add a render component (visible mesh)
115
if (!template) {
116
template = new pc.Entity();
117
template.addComponent("render", {
0 commit comments