Particles & shader fixes
This commit is contained in:
parent
4aec8487fa
commit
ed286099ee
5 changed files with 9 additions and 4 deletions
|
@ -3,6 +3,7 @@ package ru.betterend.world.biome;
|
|||
import net.minecraft.entity.EntityType;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.registry.EndFeatures;
|
||||
import ru.betterend.registry.EndParticles;
|
||||
import ru.betterend.registry.EndSounds;
|
||||
|
||||
public class DragonGraveyardsBiome extends EndBiome {
|
||||
|
@ -10,7 +11,8 @@ public class DragonGraveyardsBiome extends EndBiome {
|
|||
super(new BiomeDefinition("dragon_graveyards")
|
||||
.setGenChance(0.1F)
|
||||
.setFogColor(244, 46, 79)
|
||||
.setFogDensity(1.1F)
|
||||
.setFogDensity(1.3F)
|
||||
.setParticles(EndParticles.FIREFLY, 0.0007F)
|
||||
.setMusic(EndSounds.MUSIC_OPENSPACE)
|
||||
.setLoop(EndSounds.AMBIENT_GLOWING_GRASSLANDS)
|
||||
.setSurface(EndBlocks.SANGNUM)
|
||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.util.math.Direction;
|
|||
import net.minecraft.world.StructureWorldAccess;
|
||||
import net.minecraft.world.gen.chunk.ChunkGenerator;
|
||||
import net.minecraft.world.gen.feature.DefaultFeatureConfig;
|
||||
import ru.betterend.blocks.BlockProperties.TripleShape;
|
||||
import ru.betterend.blocks.BlockProperties;
|
||||
import ru.betterend.blocks.BlockProperties.TripleShape;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.registry.EndTags;
|
||||
import ru.betterend.util.BlocksHelper;
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:waving_wall_inverted_glow_all"
|
||||
}
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:waving_floor_glow_green"
|
||||
"defaultMaterial": "betterend:waving_floor"
|
||||
}
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
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;
|
||||
fragData.emissivity = (fragData.spriteColor.g > 0.3) ? 0.6 : 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue