Skip to content

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