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

DepthReductionFinal #41

Open
petiaccja opened this issue Jul 8, 2018 · 0 comments
Open

DepthReductionFinal #41

petiaccja opened this issue Jul 8, 2018 · 0 comments
Assignees
Labels

Comments

@petiaccja
Copy link
Owner

Components

Missing port names
Use Binder instead of optional
Don't store input port values as member variables (m_camera, m_suns), query in Execute()
Shader: Don't rewrite all utility function such as creating matrices

Header

Bunch of commented code snippets

Implementation

Factor out binder creation to its own function.
Factor out CSO creation.

Code style

Naming conventions violated:

  • cpp/Uniforms
  • cpp/InitRenderTarget textures
  • cpp/Execute vectors
  • shader/Uniforms
  • shader/all function names
  • shader/local variables
  • shader/literally everything is wrong
  • shader/one letter variables, like loads, especially in loops
  • cpp/vp is not a name, viewProj is
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants