Skip to content

Shader global variable assigment not works. #99

@IvanPopov

Description

@IvanPopov

For example:

//real uniform
float2 viewportSize: VIEWPORT_SIZE;
//just global variables
float width = viewportSize.x;  //<<< this variable will not be assigned!
float height = viewportSize.y; //<<< this variable will not be assigned!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions