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

Ambient light seems to come from the bottom right? #34

Open
jazzyjeff5 opened this issue Oct 27, 2018 · 2 comments
Open

Ambient light seems to come from the bottom right? #34

jazzyjeff5 opened this issue Oct 27, 2018 · 2 comments

Comments

@jazzyjeff5
Copy link

It seems that when I use a bright ambient light, the light is actually coming from the bottom right of the screen. I'm doing some funny translation of the stage to make (0,0) the bottom left, perhaps this is why?

How do I change the position of the ambient light? I've looked at the indices and vertices arrays but I don't see how what's in them relates to on screen co-ordinates.

Maybe I'm misunderstanding ambient light? All I'm looking for is a way to lighten the whole scene evenly so it's not totally black without any other lights.

Thanks for all the help and for the engine!

@jonlepage
Copy link

@Dai696
Copy link

Dai696 commented Dec 5, 2018

I think a new PR was made that fixed this

U don't need directional light tho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants