-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
[TRACKER] Visual Shader nodes wishlist #5106
Comments
This one should probably be named Distance Fade for consistency with the BaseMaterial3D parameter of the same name. |
@Calinou fixed 👍 |
I would also propose these VS nodes: |
This could be called "Range Lerp" to match the It would also be nice to add the float range_lerp(float value, float istart, float istop, float ostart, float ostop) {
return ostart + (ostop - ostart) * ((value - istart) / (istop - istart));
} EDIT: I opened a proposal for this: #5112 |
I actually forgot about the linearized depth from the depth_texture. Correct me if I am wrong, but I haven't seen a usecase where the logarithmic scale (default) was used instead of the linearized one🤔 https://docs.godotengine.org/en/stable/tutorials/shaders/screen-reading_shaders.html#depth-texture |
Describe the project you are working on
Various VFX
Describe the problem or limitation you are having in your project
Some nontrivial VS nodes are missing.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Adding a couple of nodes to reach feature parity with what spatial shaders and canvas shaders can offer out-of-the-box.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Spatial:
Particles:
If this enhancement will not be used often, can it be worked around with a few lines of script?
It can, but it's about improving VS UX.
Is there a reason why this should be core and not an add-on in the asset library?
It can, but it's about improving VS UX.
The text was updated successfully, but these errors were encountered: