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

Project 5: Yuru Wang #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

yuruwang
Copy link

  • Forward+ rendering: Built a data structure to keep track of how many lights are in each cluster and what their indices are
    Render the scene using only the lights that overlap a given cluster
  • Clustered deferred rendering: Stored vertex attributes in g-buffer. Read g-buffer in a shader to produce final output.
  • Blinn-Phong shading: Combined diffuse color and specular color.
  • Optimized g-buffer format: Packed color, vertex position, normal values together into vec4s. Used 2-component normals and calculate the third component in shader.

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

Successfully merging this pull request may close these issues.

1 participant