Skip to content

Fuse.Variable | Camera variables wrong #137

@mhusinsky

Description

@mhusinsky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions