feat: add simple transparency

This commit is contained in:
2026-10-24 00:36:58 +02:00
parent 0b7cc38543
commit b798ed0378
13 changed files with 488 additions and 18 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

+3
View File
@@ -0,0 +1,3 @@
{
"guid": "a6c64648ac15e99110de13faea6b80e1"
}
+325 -1
View File
@@ -24,6 +24,7 @@
1.0,
1.0
],
"blend": "opaque",
"emissiveColor": [
0.0,
0.0,
@@ -34,6 +35,7 @@
"name": "material_0",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 0.699999988079071,
"textures": {
"diffuse": {
@@ -43,12 +45,40 @@
}
}
},
"10": {
"baseColor": [
1.0,
1.0,
1.0
],
"blend": "transparent",
"emissiveColor": [
0.0,
0.0,
0.0
],
"filtering": "linear",
"metallic": 0.0,
"name": "Material",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 1.0,
"textures": {
"diffuse": {
"guid": "a6c64648ac15e99110de13faea6b80e1",
"path": "game://kobe.png",
"srgb": true
}
}
},
"2": {
"baseColor": [
0.8999999761581421,
0.10000000149011612,
0.10000000149011612
],
"blend": "opaque",
"emissiveColor": [
0.35999998450279236,
0.04000000283122063,
@@ -59,6 +89,7 @@
"name": "ButtonMaterial",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 0.4000000059604645
},
"3": {
@@ -67,6 +98,7 @@
0.949999988079071,
0.8500000238418579
],
"blend": "opaque",
"emissiveColor": [
1.0,
0.8199999928474426,
@@ -77,6 +109,7 @@
"name": "BulbMaterial",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 1.0
},
"4": {
@@ -85,6 +118,7 @@
0.8999999761581421,
0.8999999761581421
],
"blend": "opaque",
"emissiveColor": [
0.0,
0.0,
@@ -95,6 +129,7 @@
"name": "LightSwitchMaterial",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 0.5
},
"5": {
@@ -103,6 +138,7 @@
0.10000000149011612,
0.10000000149011612
],
"blend": "opaque",
"emissiveColor": [
0.35999998450279236,
0.04000000283122063,
@@ -113,7 +149,116 @@
"name": "WinButtonMaterial",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 0.4000000059604645
},
"6": {
"baseColor": [
1.0,
1.0,
1.0
],
"blend": "transparent",
"emissiveColor": [
0.0,
0.0,
0.0
],
"filtering": "linear",
"metallic": 0.0,
"name": "Material",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 1.0,
"textures": {
"diffuse": {
"guid": "a6c64648ac15e99110de13faea6b80e1",
"path": "game://kobe.png",
"srgb": true
}
}
},
"7": {
"baseColor": [
1.0,
1.0,
1.0
],
"blend": "transparent",
"emissiveColor": [
0.0,
0.0,
0.0
],
"filtering": "linear",
"metallic": 0.0,
"name": "Material",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 1.0,
"textures": {
"diffuse": {
"guid": "a6c64648ac15e99110de13faea6b80e1",
"path": "game://kobe.png",
"srgb": true
}
}
},
"8": {
"baseColor": [
1.0,
1.0,
1.0
],
"blend": "transparent",
"emissiveColor": [
0.0,
0.0,
0.0
],
"filtering": "linear",
"metallic": 0.0,
"name": "Material",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 1.0,
"textures": {
"diffuse": {
"guid": "a6c64648ac15e99110de13faea6b80e1",
"path": "game://kobe.png",
"srgb": true
}
}
},
"9": {
"baseColor": [
1.0,
1.0,
1.0
],
"blend": "transparent",
"emissiveColor": [
0.0,
0.0,
0.0
],
"filtering": "linear",
"metallic": 0.0,
"name": "Material",
"normalScale": 1.0,
"occlusionStrength": 1.0,
"opacity": 1.0,
"roughness": 1.0,
"textures": {
"diffuse": {
"guid": "a6c64648ac15e99110de13faea6b80e1",
"path": "game://kobe.png",
"srgb": true
}
}
}
},
"name": "Main",
@@ -7571,7 +7716,6 @@
{
"data": {
"clip": {
"guid": "b21bcb92ef324239e14c407ad8b9ff39",
"path": "game://MontyOnTheRun.wav"
},
"loop": false,
@@ -7607,6 +7751,186 @@
1.0
]
}
},
{
"active": true,
"components": [
{
"data": {
"material": {
"localMaterial": "6"
},
"mesh": "prim://plane?size=1,1"
},
"enabled": true,
"type": "MeshRendererComponent"
}
],
"id": 121,
"name": "Decal",
"parent": 0,
"transform": {
"position": [
-4.743542194366455,
0.3649294674396515,
0.07782143354415894
],
"rotation": [
0.5,
0.5,
-0.5,
0.5
],
"scale": [
1.0,
0.9999995231628418,
0.9999995827674866
]
}
},
{
"active": true,
"components": [
{
"data": {
"material": {
"localMaterial": "7"
},
"mesh": "prim://plane?size=1,1"
},
"enabled": true,
"type": "MeshRendererComponent"
}
],
"id": 122,
"name": "Decal",
"parent": 0,
"transform": {
"position": [
-4.743542194366455,
1.1351869106292725,
2.188525676727295
],
"rotation": [
0.5,
0.5,
-0.5,
0.5
],
"scale": [
1.0,
0.9999995231628418,
0.9999995827674866
]
}
},
{
"active": true,
"components": [
{
"data": {
"material": {
"localMaterial": "8"
},
"mesh": "prim://plane?size=1,1"
},
"enabled": true,
"type": "MeshRendererComponent"
}
],
"id": 123,
"name": "Decal",
"parent": 0,
"transform": {
"position": [
-4.743542194366455,
1.5165855884552002,
0.601291835308075
],
"rotation": [
0.5,
0.5,
-0.5,
0.5
],
"scale": [
1.0,
0.9999995231628418,
0.9999995827674866
]
}
},
{
"active": true,
"components": [
{
"data": {
"material": {
"localMaterial": "9"
},
"mesh": "prim://plane?size=1,1"
},
"enabled": true,
"type": "MeshRendererComponent"
}
],
"id": 124,
"name": "Decal",
"parent": 0,
"transform": {
"position": [
-4.743542194366455,
0.5876348614692688,
-1.545495867729187
],
"rotation": [
0.5,
0.5,
-0.5,
0.5
],
"scale": [
1.0,
0.9999995231628418,
0.9999995827674866
]
}
},
{
"active": true,
"components": [
{
"data": {
"material": {
"localMaterial": "10"
},
"mesh": "prim://plane?size=1,1"
},
"enabled": true,
"type": "MeshRendererComponent"
}
],
"id": 125,
"name": "Decal",
"parent": 0,
"transform": {
"position": [
-4.743542194366455,
1.3765578269958496,
-2.816664457321167
],
"rotation": [
0.5,
0.5,
-0.5,
0.5
],
"scale": [
1.0,
0.9999995231628418,
0.9999995827674866
]
}
}
],
"version": 3