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 static UVs #1

Open
nonunknown opened this issue Nov 3, 2022 · 1 comment
Open

Add static UVs #1

nonunknown opened this issue Nov 3, 2022 · 1 comment

Comments

@nonunknown
Copy link

This plugin is awesome, I would like to know if its possible to make UV in a way that the texture doesnt move (like world triplanar) this way, the users can make something like tiremarks.

ps: If you give me some hints I can try to implement this, just dont have any idea!

@Firepal
Copy link
Owner

Firepal commented Nov 3, 2022

Thank you for your interest in the project! (Mind the bugs... ^^)
If I understand correctly, you want a line that looks planar. This is possible but not really implemented.

The Tangent Facing toggle in the included shaders does this, but the implementation means you need to have the tangent direction baked on the line mesh beforehand. LinePath3D can have an infinite set of tangent directions at any point, so it was only implemented for Trail3D (which has unique tangents defined at every point).

We could add an angle value to allow the user to specify the tangent direction around the line, but I'm not sure whether we should have GDScript or shadercode handle it. I'll think I'll try to make a little PoC in shadercode first.

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