galacean / engine

A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.
https://galacean.antgroup.com/
MIT License
4.05k stars 289 forks source link

Fix the bug of global variable dosn't work in multi-pass ShaderLab #2018

Closed Sway007 closed 4 months ago

Sway007 commented 4 months ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Fixed the problem of global variable serialization loss in multi-pass shader