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

Light intensity defaulting to 10 at runtime #28

Open
00alia00 opened this issue Aug 13, 2019 · 1 comment
Open

Light intensity defaulting to 10 at runtime #28

00alia00 opened this issue Aug 13, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@00alia00
Copy link

Hi!
First off, great stuff! The output is beautiful! :) However I have noticed that nomatter how I set the intensity of the directional light in the scene, it will set itself back to 10 every time I press play.

This can be reproduced by starting any scene with a directional light.

I'm not sure if you want a seperate bug for this but if i create a box with walls that are made of 5 unit thick boxes, the inside still has light even if the ambient light is set to 0x000000 like so:

2019-08-13_11-27-23

If is change the directional lights intensity to 1 it looks like so:

2019-08-13_11-35-38

(which is much better - i set the walls to 1 unity thick and it seems to only leak a little light)

Anyway thanks for your efforts!

Alia

@Looooong
Copy link
Owner

About the light intensity defaults to 10, I have no idea about this. I will probably check it about later.

On the other hand, light leaking is one of the main problems of this lighting technique. This can not be fully fixed, and can be mitigated by implementing anisotropic voxel shading, which I will do in the future.

@Looooong Looooong added the bug Something isn't working label Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants