Orillusion / orillusion

Orillusion is a pure Web3D rendering engine which is fully developed based on the WebGPU standard.
https://www.orillusion.com
MIT License
4.7k stars 614 forks source link

[BUG]: LitMaterial 设置纹理重复无效,UnLitMaterial 有效 #435

Open ID-Emmett opened 1 month ago

ID-Emmett commented 1 month ago

Bug描述

image

这是有效的: let mat = new UnLitMaterial(); mat.setUniformVector4('transformUV1', new Vector4(0, 0, 2, 2));

这是无效的: let mat = new LitMaterial(); mat.setUniformVector4('transformUV1', new Vector4(0, 0, 2, 2));

测试引擎版本:

本地运行出错的Orillusion引擎版本, e.g. 0.8.1

lslzl3000 commented 1 month ago

感谢反馈,下个版本会统一命名方式