cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
8.56k stars 1.99k forks source link

TileLayer 分批渲染数量不对,导致layer结点超过一定数量后,无法正常渲染 #16856

Open vollen opened 7 months ago

vollen commented 7 months ago

Cocos Creator version

3.8.1

System information

any

Issue description

每一个 Tile格子的顶点数据应该是 4*9(pos,uv,color)=36 位,但是计算最大格子数量时,除的是 6 image image

Relevant error log output

No response

Steps to reproduce

逻辑 bug

Minimal reproduction project

No response

qiuguohua commented 7 months ago

有demo可以复现这个问题么?