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

Lighting #3

Open
Jerboa-app opened this issue Nov 30, 2022 · 4 comments
Open

Lighting #3

Jerboa-app opened this issue Nov 30, 2022 · 4 comments

Comments

@Jerboa-app
Copy link
Collaborator

Jerboa-app commented Nov 30, 2022

ambient light cast by view distance

shadow quads cast by:

agent blind angles (zones)
map geometry

@Jerboa-app
Copy link
Collaborator Author

agent on map height 0 has shadows cast by all higher map height intersections

at 1 no shadows by (0,1) intersections but higher ones still etc...

@Jerboa-app
Copy link
Collaborator Author

work out shadow quads from a-priori marching squares cells

@Jerboa-app
Copy link
Collaborator Author

Jerboa-app commented Dec 2, 2022

player will be light source

implement so arbitrary object can be light source?

@Jerboa-app
Copy link
Collaborator Author

Jerboa-app commented Dec 2, 2022

ambient light also perturbed by "clouds" noise map, and world height (depth attenuation)

simulate light hitting underwater

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

1 participant