Skip to content

Fuse.Variable | Camera variables wrong #137

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

Open
mhusinsky opened this issue Apr 7, 2025 · 0 comments
Open

Fuse.Variable | Camera variables wrong #137

mhusinsky opened this issue Apr 7, 2025 · 0 comments

Comments

@mhusinsky
Copy link

Describe the bug
Using the Fuse Variables from the Camera results in error, as they are defined with DefinedSemantics, which creates shader code using the streams prefix (which is wrong, as they are only stage variables).

Image Image

Image

Fixing this by Replacing DefinedSemantics with DefaultIn removes the error and works for nodes NearClipPlane and FarClipPlane (no more compile error and output values make sense).

Image

Image

However, it does not fix the problem for ViewSize and AspectRatio nodes. The generated shader code looks correct, however, their values will always be zero.

Writing a custom shader by hand using those variables works as expected though, so somewhere something in the chain goes still wrong when setting the values.

  • OS: Windows 10
  • vvvv version 7.0 preview 293
  • Fuse version GIT 75eb0c1
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