Jump to content

[SOLVED] Hemispheric Light Bright Spot


pinkmilkshake
 Share

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...