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

Depth Fog engine example #4257

Merged
merged 1 commit into from
May 20, 2022
Merged

Depth Fog engine example #4257

merged 1 commit into from
May 20, 2022

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented May 18, 2022

Fixes #4245

A new engine example demonstrating the use of the scene's depth buffer in a custom shader.

additional changes:

  • added already public functions to index: createShader, createShaderFromCode
  • using createShaderFromCode inside grab-pass example

Screenshot 2022-05-18 at 11 00 20

@mvaligursky mvaligursky merged commit a9abcbe into main May 20, 2022
@mvaligursky mvaligursky deleted the mvaligursky-depth-fog branch May 20, 2022 09:04
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.

Add an engine example demonstrating a scene depth being used in a custom shader
2 participants