1 Like
If I set ground , I can get shadow,
private createGround():void{
var ground = Mesh.CreateGround("ground", 35, 35, 10, this.scene);
ground.position = new Vector3(0, -2, 0),
ground.checkCollisions = true;
ground.receiveShadows = true;
}
when I don’t set ground ,what cant I do?
If i want a shadow, “Ground” it is necessary to receive shadow?
Maybe you want this:
But you will still need an object on which the shadow is projected, there’s no way around that.
2 Likes
Yes, this is I want ,thanks!!