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.
This commit is contained in:
ANTIH3IK0 2026-01-28 10:43:27 +08:00 committed by GitHub
parent d0b95065a9
commit 76f4f96799
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}