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

3 dimensional projections? #45

Open
ChalkyBrush opened this issue Feb 25, 2023 · 1 comment
Open

3 dimensional projections? #45

ChalkyBrush opened this issue Feb 25, 2023 · 1 comment

Comments

@ChalkyBrush
Copy link

I'm trying to modify the projection shader to take into account height. Right now the decals are stretched along the Y axis (IE up a hill)

If I change decalSpaceUV = decalSpaceScenePos.xz, it takes into acount height but no longer works on flat surfaces

@ChalkyBrush
Copy link
Author

It is a very large decal with a scale of 50x50x50, so a simple rotation toward the hit normal is not enough

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

1 participant