-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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 more useful Visual Shader nodes #72664
Conversation
0630181
to
31698dd
Compare
ec9d294
to
5ab6d67
Compare
4fd92ea
to
d60b2b8
Compare
Isn't it the same as |
Not sure to be honest. This node was part of a proposal by @QbieShay for Spatial Shaders (I think). |
Yes this is for spatial shaders! |
d60b2b8
to
1413a55
Compare
9e7dbbb
to
3f570a0
Compare
4e2a7fa
to
e4cd9c6
Compare
Fixed the |
e4cd9c6
to
72e1ccd
Compare
72e1ccd
to
e880005
Compare
You need to update the generated documentation, we're in the 4.1 stretch now 😎 |
e880005
to
7570d7c
Compare
I rebased my changes on top and my example still works here: Doesn't seem to change when I use your Node setup (still works): Also @QbieShay: |
e28f341
to
5a68da5
Compare
I think perhaps it could be a tickbox on the node instead? I think having 2 inputs would be confusing. And perhaps by default it could use CUSTOM.x if no value is supplied? |
Wouldn't an options drow-down be better than a tick box UX-wise?
I think this could get very confusing for a lot of users as it's not shown in the UI what the default value is. So I would be personally against implementing this. It could be still added later but doing it the other way around would break compatability I assume. |
I would imagine that rotating particles would be the most basic case but actually probably not, you're right. And you're right about the option drop down too ^^ although maybe it can just be radians. If everything is already in radians we don't need to support degrees. Maybe in the future a float param that auto-converts degrees would be better? |
Yes, IIRC everything is handled as radians. I do find degrees better to use but that can be discussed in a proposal some other time. So all in all, everything should be finished then, right? Can this be merged? |
Yep. Thank you for this work. |
Could you squash commits and amend the commit message? |
0404270
to
79ff318
Compare
Squashed and rebased :) Edit: I think the broken CI is because of a compatability break not connected to this PR |
No, it's just a "normal" issue because "No space left on device". PS. You didn't amend the commit message, btw 🙃 |
* RotationByAxis Visual Shader Node added * WorldPositionFromDepth Visual Shader Node added * ScreenNormalWorldSpace Visual Shader Node added
79ff318
to
65b0989
Compare
What do you mean by "no space left on device"? Is that a GitHub CI error still?
Ah damn... my bad :/ I usa a visual git editor and thought I used the correct command... Is there something specific I need to add? I reworked it now to tell the changes in bullet points |
Yes, it's an issue with CI itself, not with our project or your PR.
No, it just doesn't follow the commit message style preferred by the project. |
Thanks, great work! |
Part of godotengine/godot-proposals#5106
Talked about with @QbieShay:
World Position from Depth (depth texture)
Screen Normal in World Space