Skip to content

Commit

Permalink
Refactor|Renderer: Reformatted light/shadow geometry generation
Browse files Browse the repository at this point in the history
Geometry generation logic for dynamic lights and shadows now roughly
follows that used with GLBufferT. Plus some minor cleanup.
  • Loading branch information
danij-deng committed May 26, 2015
1 parent b9b2560 commit c20da60
Showing 1 changed file with 447 additions and 468 deletions.

1 comment on commit c20da60

@danij-deng
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. However, the issue with the old renderer is that it is primarily separated according to very different organizational standards, making refactoring somewhat of a pain. Usually I find that identifying and decoupling logical components is usually easier when everything is in plain sight (kind of like clearing your desk, emptying the draws on the table and then starting over).

My intention here is to clean things up enough so that we can begin to think about how the new GL 2.0 components will fit in. I'm not really planning on taking it much further though. as I think there are more pressing matters to attend to (SDL2 based input, controller plugins etc..).

Please sign in to comment.