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

Add ALL_CAM_COORDS flag to render camera coordinates. #71

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

Conversation

keunhong
Copy link

@keunhong keunhong commented Sep 3, 2019

  • Defines NO_LIGHTS and NO_MATERIALS which are subsets of DEPTH_ONLY.
  • Replace DEPTH_ONLY with NO_LIGHTS and NO_MATERIALS in places.
  • Add ALL_CAM_COORDS.

This cam be easily extended to render other things such as per-pixel
normals etc. or world-space coordinates.

It would be nice to have a more general way to just pass in a custom
shader but this was the easiest to do for now.

Keunhong Park added 2 commits September 3, 2019 16:07
- Defines NO_LIGHTS and NO_MATERIALS which are subsets of DEPTH_ONLY.
- Replace DEPTH_ONLY with NO_LIGHTS and NO_MATERIALS in places.
- Add ALL_CAM_COORDS.

This cam be easily extended to render other things such as per-pixel
normals etc. or world-space coordinates.

It would be nice to have a more general way to just pass in a custom
shader but this was the easiest to do for now.
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