feat: add uvScale to unlit material

This commit is contained in:
Nick Fisher
2024-09-27 15:08:30 +08:00
parent 4e7ec6bfb4
commit 16dc0419e2
5 changed files with 4903 additions and 4896 deletions

View File

@@ -13,6 +13,10 @@ material {
{ {
type : int, type : int,
name : baseColorIndex name : baseColorIndex
},
{
type : float2,
name : uvScale
} }
], ],
depthWrite : true, depthWrite : true,
@@ -21,7 +25,7 @@ material {
blending: opaque, blending: opaque,
culling: none, culling: none,
instanced: false, instanced: false,
vertexDomain: object vertexDomain: object,
} }
fragment { fragment {

View File

@@ -8,5 +8,5 @@ UNLIT_PACKAGE:
UNLIT_UNLIT_OFFSET: UNLIT_UNLIT_OFFSET:
.int 0 .int 0
UNLIT_UNLIT_SIZE: UNLIT_UNLIT_SIZE:
.int 101394 .int 101456

View File

@@ -8,5 +8,5 @@ _UNLIT_PACKAGE:
_UNLIT_UNLIT_OFFSET: _UNLIT_UNLIT_OFFSET:
.int 0 .int 0
_UNLIT_UNLIT_SIZE: _UNLIT_UNLIT_SIZE:
.int 101394 .int 101456

File diff suppressed because it is too large Load Diff