Sign in to follow this  
pinkmilkshake

[SOLVED] Hemispheric Light Bright Spot

Recommended Posts

I'm wondering if anyone might know the solution to my issue, so far I cannot find anything on it.

Does anyone know how to stop this bright spot?

It doesn't matter where I move the camera, there is a big bright spot directly underneath it at all times.

You can see it in some of the examples on the babylonjs website: https://www.babylonjs-playground.com/#L76FB1#0

In the picture is a plane:

var ground = BABYLON.MeshBuilder.CreateGround('ground1', {height:128, width:128, subdivisions: 128}, this.scene)
var material = new BABYLON.StandardMaterial('grass', this.scene)
material.ambientTexture = new BABYLON.Texture('textures/grass.jpg', this.scene)
material.ambientTexture.uScale = 128
material.ambientTexture.vScale = 128
material.ambientColor = new BABYLON.Color3(1, 1, 1)
ground.material = material

The light is a hemispheric light:

var light = new BABYLON.HemisphericLight(name, new BABYLON.Vector3(0,1,0), this.scene);

Zoomed in:

image.png.4a6076d28b25d377c7164ce49c7c8422.png

Zoomed way out:

\image.png.cdd34a2d70401ddf57b7a4bbea62ff22.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.