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 config options to be able to flip the y_map in x or y direction #83

Closed
ethereumdegen opened this issue May 19, 2024 · 4 comments
Closed

Comments

@ethereumdegen
Copy link

Add config options to be able to flip the y_map in x or y direction

@ethereumdegen
Copy link
Author

this would be very useful for me for linking this with my terrain height data

@ethereumdegen
Copy link
Author

Tldr i was able to get this crate hooked up to my terrain by feeding the terrain height maps in however i had to make z be x and x be z in the shader for the y map input. So i had to fork this repo

@ethereumdegen
Copy link
Author

Maybe we can add a config option “transpose y map”

@EmiOnGit
Copy link
Owner

Expected behavior should be that the y-map, normal map and density map are aligned.
A setting to configure transposition/rotation of the y map could lead to weird bugs as the other maps are not aligned anymore.
How about a setting which controls all maps? Couldn't you just make the grass entity a child entity and rotate the transform at 90 degree?

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

No branches or pull requests

2 participants