Skip to content

Vector uniform parameters with the same name in different fragments use the latest created node's value #9

Description

@yoiang

Hello!
I haven't tested this intensively to know if this also happens with non-literal value nodes, but the situation I've had happen each time is:

  1. create a new fragment node
  2. add a uniform parameter of a vector type with name "foo"
  3. add a literal value node to the parameter
  4. create a second new fragment node
  5. add a uniform parameter of the same vector type with the same name "foo"
  6. add a literal value node to the second node's parameter

What happens is:

  • changing the first literal node value has no effect on the first fragment node
  • changing the second literal node value effects both the first and the second fragment node

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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