Skip to content

Commit

Permalink
Fixed Material test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAlvarezMelucciDCL committed Oct 18, 2024
1 parent d7c0032 commit 0a22a90
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions test/ecs/components/Material.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,7 @@ describe('Generated Material ProtoBuf', () => {
}
}
},
alphaTexture: {
tex: {
$case: 'texture',
texture: {
filterMode: undefined,
wrapMode: undefined,
src: 'not-casla'
}
}
},
alphaTexture: undefined,
castShadows: true,
metallic: 1,
roughness: 1,
Expand All @@ -79,16 +70,7 @@ describe('Generated Material ProtoBuf', () => {
createPbrMaterial({
albedoColor: { r: 0, g: 1, b: 1, a: 1 },
alphaTest: 1,
alphaTexture: {
tex: {
$case: 'texture',
texture: {
wrapMode: TextureWrapMode.TWM_CLAMP,
filterMode: TextureFilterMode.TFM_BILINEAR,
src: 'not-casla'
}
}
},
alphaTexture: undefined,
bumpTexture: {
tex: {
$case: 'texture',
Expand Down Expand Up @@ -136,6 +118,7 @@ describe('Generated Material ProtoBuf', () => {
createUnlitMaterial({
castShadows: true,
diffuseColor: { r: 0, g: 1, b: 1, a: 1 },
alphaTexture: undefined,
alphaTest: undefined,
texture: undefined
})
Expand Down

0 comments on commit 0a22a90

Please sign in to comment.