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

Shadows #59

Open
4 tasks
MStachowicz opened this issue Jul 2, 2023 · 0 comments
Open
4 tasks

Shadows #59

MStachowicz opened this issue Jul 2, 2023 · 0 comments
Assignees
Labels
Feature New feature or request Medium Bug or task of intermediate time investment. OpenGL OpenGL related things

Comments

@MStachowicz
Copy link
Owner

Implement shadow casting for lights.
Draw the scene from the perspective of the light into a depth texture to be sampled in the PhongRenderer and Phong shader for calculating light contribution.

  • Point light shadows
  • Spotlight shadows
  • Directional light shadows
  • PCF + face culling
@MStachowicz MStachowicz added Feature New feature or request OpenGL OpenGL related things Medium Bug or task of intermediate time investment. labels Jul 2, 2023
@MStachowicz MStachowicz self-assigned this Jul 2, 2023
MStachowicz added a commit that referenced this issue Jul 2, 2023
…ataType. #59

Added GL function wrappers for glTexStorage3D and glTexSubImage3D.
Added GL state getters for GPU Texture capabilities.
Renamed DataType to ShaderDataType.
Renamed set_active_texture to active_texture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Medium Bug or task of intermediate time investment. OpenGL OpenGL related things
Projects
None yet
Development

No branches or pull requests

1 participant