Amaranita mushroom blocks (WIP), shaders for new plants
This commit is contained in:
parent
5e3a3ef6cd
commit
4aec8487fa
33 changed files with 229 additions and 1 deletions
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"axis=x": { "model": "betterend:block/amaranita_hyphae", "x": 90, "y": 90 },
|
||||
"axis=y": { "model": "betterend:block/amaranita_hyphae" },
|
||||
"axis=z": { "model": "betterend:block/amaranita_hyphae", "x": 90 }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"variants": {
|
||||
"": [
|
||||
{ "model": "betterend:block/clawfern_01" },
|
||||
{ "model": "betterend:block/clawfern_02" }
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"variants": {
|
||||
"": [
|
||||
{ "model": "betterend:block/globulagus_01" },
|
||||
{ "model": "betterend:block/globulagus_02" },
|
||||
{ "model": "betterend:block/globulagus_03" },
|
||||
{ "model": "betterend:block/globulagus_04" }
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:waving_floor_glow_green"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:waving_floor_glow_green"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"layers": [
|
||||
{
|
||||
"vertexSource": "betterend:shaders/material/wave_floor.vert",
|
||||
"fragmentSource": "betterend:shaders/material/glow_green_2.frag",
|
||||
"disableAo": true,
|
||||
"disableDiffuse": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"parent": "block/cube",
|
||||
"textures": {
|
||||
"down": "betterend:block/amaranita_hyphae_top",
|
||||
"east": "betterend:block/amaranita_hyphae_side",
|
||||
"north": "betterend:block/amaranita_hyphae_side",
|
||||
"particle": "betterend:block/amaranita_hyphae_side",
|
||||
"south": "betterend:block/amaranita_hyphae_side",
|
||||
"up": "betterend:block/amaranita_hyphae_top",
|
||||
"west": "betterend:block/amaranita_hyphae_side"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cross",
|
||||
"textures": {
|
||||
"cross": "betterend:block/clawfern"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "betterend:block/cross_inverted",
|
||||
"textures": {
|
||||
"cross": "betterend:block/clawfern"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cross",
|
||||
"textures": {
|
||||
"cross": "betterend:block/globulagus"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "betterend:block/crop_block",
|
||||
"textures": {
|
||||
"texture": "betterend:block/globulagus"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "betterend:block/cross_inverted",
|
||||
"textures": {
|
||||
"cross": "betterend:block/globulagus"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "betterend:block/crop_block_inverted",
|
||||
"textures": {
|
||||
"texture": "betterend:block/globulagus"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "betterend:block/amaranita_hyphae"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "betterend:block/clawfern"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "betterend:block/globulagus"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
#include frex:shaders/api/fragment.glsl
|
||||
#include frex:shaders/lib/math.glsl
|
||||
|
||||
void frx_startFragment(inout frx_FragmentData fragData) {
|
||||
float a = abs(fragData.spriteColor.b - fragData.spriteColor.r);
|
||||
float b = abs(fragData.spriteColor.b - fragData.spriteColor.g);
|
||||
fragData.emissivity = (a > 0.1 && b > 0.1 && fragData.spriteColor.b > 0.1) ? 0.5 : 0;
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
#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);
|
||||
fragData.emissivity = (fragData.spriteColor.g > 0.3) ? 0.3 : 0;
|
||||
}
|
BIN
src/main/resources/assets/betterend/textures/block/clawfern.png
Normal file
BIN
src/main/resources/assets/betterend/textures/block/clawfern.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 248 B |
Binary file not shown.
After Width: | Height: | Size: 250 B |
Loading…
Add table
Add a link
Reference in a new issue