2024-06-11
565 words
2 mins
模型烘焙笔记
模型烘焙,就是把一个四边形,通过一步步方法,烘焙成供mc渲染管线使用来渲染一个四边形面的BakedQuad对象。可以首先来看看BakedModel的构造方法
12345678public BakedQuad(int[] pVertices, int pTintIndex, Direction pDirection, TextureAtlasSprite pSprite, boolean pShade, boolean hasAmbientOcclusion) { this.vertices = pVertices; this.tintIndex = pTintIndex;