Skip to content

renderer: some minor improvements (factorisation etc.)#300

Merged
illwieckz merged 3 commits intoDaemonEngine:masterfrom
illwieckz:polishing
Apr 11, 2020
Merged

renderer: some minor improvements (factorisation etc.)#300
illwieckz merged 3 commits intoDaemonEngine:masterfrom
illwieckz:polishing

Conversation

@illwieckz
Copy link
Copy Markdown
Member

  • Move reflective specular computation in specular computation in computeLight glsl file.
  • Move lightGrid color computation in computeLight file to avoid copy paste.
  • Move blending after the test to discard fragment based on alpha (do not blend what would be discarded).

@illwieckz
Copy link
Copy Markdown
Member Author

illwieckz commented Mar 9, 2020

This is Spartaa!!

@illwieckz illwieckz merged commit 6b89849 into DaemonEngine:master Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants