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

Implement terrain normal map #400

Open
Xtarsia opened this issue Jun 10, 2024 · 0 comments
Open

Implement terrain normal map #400

Xtarsia opened this issue Jun 10, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Xtarsia
Copy link
Contributor

Xtarsia commented Jun 10, 2024

Description

Pros:

  1. Significantly faster, only 1 lookup only per pixel, instead of 2 in vertex and 3 in fragment.
  2. Doesnt suffer from the region border artifact.
  3. Enables propper implementation of 3D projection.

Cons:

  1. Requires an additional 3MB vram per region*
  2. Updating when painting needs additional features top be fast (GPU painting / Some editor specific work arounds like an editor only shader that still has GPU based normals whilst painting)

*Its possible to use only an RG8 texture for 2MiB.

@TokisanGames TokisanGames added the enhancement New feature or request label Jun 11, 2024
@TokisanGames TokisanGames moved this to Future Ideas in Terrain3D Roadmap Jun 11, 2024
@TokisanGames TokisanGames added this to the Future milestone Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Future Ideas
Development

No branches or pull requests

2 participants