From 76f4f96799e627fb5afb3b2157d81728b8474881 Mon Sep 17 00:00:00 2001 From: ANTIH3IK0 Date: Wed, 28 Jan 2026 10:43:27 +0800 Subject: [PATCH] Note edit for xVS_wasm.js Refactor and enhance global realistic lighting, shadows, and water effects. Includes WASM loader, lightmap system, and various functions for color manipulation and rendering. --- mods/xVS_wasm.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/xVS_wasm.js b/mods/xVS_wasm.js index 37c7fe9e..bcd87c86 100644 --- a/mods/xVS_wasm.js +++ b/mods/xVS_wasm.js @@ -1,11 +1,10 @@ -// realistic_system.js - Global Realistic Lighting, Shadows, and Water Effects for ALL elements (including addons) +// xVS_wasm.js - A mod that will apply global Realistic Lighting, Shadows, and Water Effects for ALL elements (including addons) // Features: // - Dynamic colored light propagation from fire, lights, hot pixels, etc. // - Realistic occlusion shadows (darker in crevices/caves), modulated by light intensity // - Wavy foam on ALL liquids (water, oils, mod liquids) // - Works with any mods/addons automatically (liquids get waves, all get lit/shadowed) // Performance: Low-res lightmap + cached shadows = smooth even on large views -// Install: Save as realistic_system.js in mods folder, load via Mod Manager // ===== WASM LOADER (NON-MODULE VERSION) ===== let wasmReady = false; @@ -454,4 +453,5 @@ renderEachPixel(function(pixel, ctx) { if (typeof runEveryTick !== 'undefined') { runEveryTick(initTransparent); -} \ No newline at end of file + +}