galacean / engine

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

当同一 uniform 在 vs 和 fs 中定义为不同类型时,shader 报错没有 log 具体信息 #1528

Open yuufen opened 1 year ago

yuufen commented 1 year ago

image

image image

GuoLei1990 commented 1 year ago

image 引擎侧已经尽可能获取错误日志了! 试了下 chrome 下确实无法返回详细信息, firefox 下可以得到一些关键信息

Sway007 commented 1 month ago

1.3 后的 ShaderLab 会检测到这类静态语义错误并 log 提示出来,持续迭代中