Texture, lang & shader update
|
@ -595,5 +595,10 @@
|
|||
|
||||
"block.betterend.lumecorn_seed": "Семя люмекорна",
|
||||
"item.betterend.lumecorn_rod": "Стержень люмекорна",
|
||||
"block.betterend.thallasium_chandelier": "Талласиевый канделябр"
|
||||
"block.betterend.thallasium_chandelier": "Талласиевый канделябр",
|
||||
|
||||
"block.betterend.thallasium_anvil": "Талласиевая наковальня",
|
||||
"block.betterend.thallasium_chain": "Талласиевая цепь",
|
||||
"block.betterend.thallasium_slab": "Талласиевая плита",
|
||||
"block.betterend.thallasium_stairs": "Талласиевые ступени"
|
||||
}
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:glow_65"
|
||||
"defaultMaterial": "betterend:glow_green"
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"layers": [
|
||||
{
|
||||
"vertexSource": "canvas:shaders/material/default.vert",
|
||||
"fragmentSource": "betterend:shaders/material/glow_green.frag"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -30,8 +30,8 @@
|
|||
},
|
||||
{
|
||||
"__comment": "Box4",
|
||||
"from": [ 2, 6, 1 ],
|
||||
"to": [ 4, 9, 3 ],
|
||||
"from": [ 3, 6, 1 ],
|
||||
"to": [ 5, 9, 3 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 12, 2, 14 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 0, 12, 2, 14 ], "texture": "#texture" },
|
||||
|
@ -43,8 +43,8 @@
|
|||
},
|
||||
{
|
||||
"__comment": "Box4",
|
||||
"from": [ 12, 6, 1 ],
|
||||
"to": [ 14, 9, 3 ],
|
||||
"from": [ 11, 6, 1 ],
|
||||
"to": [ 13, 9, 3 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 12, 2, 14 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 0, 12, 2, 14 ], "texture": "#texture" },
|
||||
|
@ -56,9 +56,9 @@
|
|||
},
|
||||
{
|
||||
"__comment": "PlaneX6",
|
||||
"from": [ 1, 9, 0 ],
|
||||
"to": [ 1.001, 15, 5.5 ],
|
||||
"rotation": { "origin": [ 1, 9, 0 ], "axis": "y", "angle": 45 },
|
||||
"from": [ 2, 9, 0 ],
|
||||
"to": [ 2.001, 15, 5.5 ],
|
||||
"rotation": { "origin": [ 2, 9, 0 ], "axis": "y", "angle": 45 },
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
|
||||
|
@ -67,9 +67,9 @@
|
|||
},
|
||||
{
|
||||
"__comment": "PlaneX6",
|
||||
"from": [ 5, 9, 0 ],
|
||||
"to": [ 5.001, 15, 5.5 ],
|
||||
"rotation": { "origin": [ 5, 9, 0 ], "axis": "y", "angle": -45 },
|
||||
"from": [ 6, 9, 0 ],
|
||||
"to": [ 6.001, 15, 5.5 ],
|
||||
"rotation": { "origin": [ 6, 9, 0 ], "axis": "y", "angle": -45 },
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
|
||||
|
@ -78,9 +78,9 @@
|
|||
},
|
||||
{
|
||||
"__comment": "PlaneX6",
|
||||
"from": [ 11, 9, 0 ],
|
||||
"to": [ 11.001, 15, 5.5 ],
|
||||
"rotation": { "origin": [ 11, 9, 0 ], "axis": "y", "angle": 45 },
|
||||
"from": [ 10, 9, 0 ],
|
||||
"to": [ 10.001, 15, 5.5 ],
|
||||
"rotation": { "origin": [ 10, 9, 0 ], "axis": "y", "angle": 45 },
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
|
||||
|
@ -89,9 +89,9 @@
|
|||
},
|
||||
{
|
||||
"__comment": "PlaneX6",
|
||||
"from": [ 15, 9, 0 ],
|
||||
"to": [ 15.001, 15, 5.5 ],
|
||||
"rotation": { "origin": [ 15, 9, 0 ], "axis": "y", "angle": -45 },
|
||||
"from": [ 14, 9, 0 ],
|
||||
"to": [ 14.001, 15, 5.5 ],
|
||||
"rotation": { "origin": [ 14, 9, 0 ], "axis": "y", "angle": -45 },
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#include frex:shaders/api/fragment.glsl
|
||||
#include frex:shaders/lib/math.glsl
|
||||
|
||||
void frx_startFragment(inout frx_FragmentData fragData) {
|
||||
float a = abs(fragData.spriteColor.g - fragData.spriteColor.r);
|
||||
float b = abs(fragData.spriteColor.g - fragData.spriteColor.b);
|
||||
float l = frx_luminance(fragData.spriteColor.rgb);
|
||||
fragData.emissivity = ((l > 0.9) || (a > 0.1 && b > 0.1 && fragData.spriteColor.g > 0.5)) ? 1 : 0;
|
||||
}
|
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 539 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 424 B |
After Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 371 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 417 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 392 B |
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 442 B |