more lpv block mappings; add entity lights

This commit is contained in:
NULL511
2024-05-03 22:24:09 -04:00
parent c3a804b25c
commit 1bb63feb2a
8 changed files with 103 additions and 76 deletions

View File

@ -18,40 +18,41 @@
#define BLOCK_AMETHYST_BUD_MEDIUM 102
#define BLOCK_AMETHYST_CLUSTER 103
#define BLOCK_BEACON 104
#define BLOCK_CANDLES_LIT_1 105
#define BLOCK_CANDLES_LIT_2 106
#define BLOCK_CANDLES_LIT_3 107
#define BLOCK_CANDLES_LIT_4 108
#define BLOCK_CAVE_VINE_BERRIES 109
#define BLOCK_CONDUIT 110
#define BLOCK_CRYING_OBSIDIAN 111
#define BLOCK_END_GATEWAY 112
#define BLOCK_END_ROD 113
#define BLOCK_FIRE 114
#define BLOCK_FROGLIGHT_OCHRE 115
#define BLOCK_FROGLIGHT_PEARLESCENT 116
#define BLOCK_FROGLIGHT_VERDANT 117
#define BLOCK_GLOW_LICHEN 118
#define BLOCK_GLOWSTONE 119
#define BLOCK_JACK_O_LANTERN 120
#define BLOCK_LANTERN 121
#define BLOCK_LAVA 122
#define BLOCK_MAGMA 123
#define BLOCK_REDSTONE_LAMP_LIT 124
#define BLOCK_REDSTONE_TORCH_LIT 125
#define BLOCK_RESPAWN_ANCHOR_4 126
#define BLOCK_SCULK_SENSOR_ACTIVE 127
#define BLOCK_SEA_PICKLE_WET_1 128
#define BLOCK_SEA_PICKLE_WET_2 129
#define BLOCK_SEA_PICKLE_WET_3 130
#define BLOCK_SEA_PICKLE_WET_4 131
#define BLOCK_SEA_LANTERN 132
#define BLOCK_SHROOMLIGHT 133
#define BLOCK_SMOKER_LIT 134
#define BLOCK_SOUL_FIRE 135
#define BLOCK_SOUL_LANTERN 136
#define BLOCK_SOUL_TORCH 137
#define BLOCK_TORCH 138
#define BLOCK_BREWING_STAND 105
#define BLOCK_CANDLES_LIT_1 106
#define BLOCK_CANDLES_LIT_2 107
#define BLOCK_CANDLES_LIT_3 108
#define BLOCK_CANDLES_LIT_4 109
#define BLOCK_CAVE_VINE_BERRIES 110
#define BLOCK_CONDUIT 111
#define BLOCK_CRYING_OBSIDIAN 112
#define BLOCK_END_GATEWAY 113
#define BLOCK_END_ROD 114
#define BLOCK_FIRE 115
#define BLOCK_FROGLIGHT_OCHRE 116
#define BLOCK_FROGLIGHT_PEARLESCENT 117
#define BLOCK_FROGLIGHT_VERDANT 118
#define BLOCK_GLOW_LICHEN 119
#define BLOCK_GLOWSTONE 120
#define BLOCK_JACK_O_LANTERN 121
#define BLOCK_LANTERN 122
#define BLOCK_LAVA 123
#define BLOCK_MAGMA 124
#define BLOCK_REDSTONE_LAMP_LIT 125
#define BLOCK_REDSTONE_TORCH_LIT 126
#define BLOCK_RESPAWN_ANCHOR_4 127
#define BLOCK_SCULK_SENSOR_ACTIVE 128
#define BLOCK_SEA_PICKLE_WET_1 129
#define BLOCK_SEA_PICKLE_WET_2 130
#define BLOCK_SEA_PICKLE_WET_3 131
#define BLOCK_SEA_PICKLE_WET_4 132
#define BLOCK_SEA_LANTERN 133
#define BLOCK_SHROOMLIGHT 134
#define BLOCK_SMOKER_LIT 135
#define BLOCK_SOUL_FIRE 136
#define BLOCK_SOUL_LANTERN 137
#define BLOCK_SOUL_TORCH 138
#define BLOCK_TORCH 139
#define BLOCK_GLASS 201
#define BLOCK_HONEY 202
#define BLOCK_ICE 203

View File

@ -1,5 +1,5 @@
// LPV falloff curve
const float LpvBlockPower = 5.0;
const float LpvBlockPower = 4.0;
// LPV block brightness scale
const float LpvBlockBrightness = 2.0;

View File

@ -674,6 +674,7 @@ const vec3 aerochrome_color = mix(vec3(1.0, 0.0, 0.0), vec3(0.715, 0.303, 0.631)
///////////////////////////////////////////
//#define LPV_ENABLED
#define LPV_ENTITY_LIGHTS
#define LPV_NORMAL_OFFSET
#define LPV_SIZE 7 // [6 7 8]