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

[VisualShader] Add w output to TransformVectorMult, improve dropdown entries #8376

Open
QbieShay opened this issue Nov 8, 2023 · 0 comments · May be fixed by godotengine/godot#97215
Open

Comments

@QbieShay
Copy link

QbieShay commented Nov 8, 2023

Describe the project you are working on

godot

Describe the problem or limitation you are having in your project

#8375

Additionally, the dropdown menu is really non intuitive for people that aren't already familiar with matrix multiplication.
Since visual shader is a tool that's suited for both technical and less technical people, the names there should be more human-readable than math-correct.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Allow reading the w output of the transformation, so that one can perform depth linearization.
Change the dropdown names from:

  • TransformPoint(AxB)
  • TransformPoint(BxA)
  • TransformDirection(AxB)
  • TransformDirection(BxA)

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

If this enhancement will not be used often, can it be worked around with a few lines of script?

Is there a reason why this should be core and not an add-on in the asset library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs consensus
1 participant