indicator added to steles, final sidebar render options added, affinity icons for UI added

This commit is contained in:
Pal
2026-04-20 18:59:36 -07:00
parent c2fca6a16f
commit 433ed408d0
45 changed files with 715 additions and 24 deletions

View File

@@ -30,7 +30,7 @@ float fresnel(float amount, vec3 normal, vec3 view)
void vertex() {
// This adds a wobble to the bubble/forcefield
// This adds a wobble to the bubble/forcefield
float noise_val = texture(displacement_noise_texture, UV + (TIME * displacement_speed)).r;
vec3 displacement = NORMAL * noise_val * displacement_amount;
VERTEX += displacement;
@@ -41,15 +41,15 @@ void fragment() {
vec2 noise_panning = vec2(-0.1, 0.0) * TIME + UV; // Vec2 controls panning direction and speed
float mix_value = texture(panning_noise_texture, noise_panning).r; // Mix colours based on noise texture
vec3 final_colour = mix(base_colour.rgb, secondary_colour.rgb, mix_value);
// Adding haze
// Create a distortion offset for the getting screen UV
float noise = texture(haze_noise_texture, UV + TIME * distortion_speed).r * 2.0;
vec3 distored_screen = texture(SCREENTEXTURE, SCREEN_UV + noise * 0.01).rgb;
vec3 distored_screen = texture(SCREENTEXTURE, SCREEN_UV + noise * 0.01).rgb;
// Add fresnel
float fresn = fresnel(5.0, NORMAL, VIEW);
ALBEDO = final_colour + distored_screen + fresn;
ALPHA = 0.3;
EMISSION = final_colour + fresn;