Commit Graph

8 Commits

Author SHA1 Message Date
DeMuenu
2c4a0e73b1 Merge pull request #1 from DeMuenu/MakeModular
Make modular
2025-09-26 20:17:34 +02:00
DeMuenu
dc939d0ef6 Add WaterParticle shader and minor water shader tweaks
Introduced a new WaterParticle shader for rendering water particles with alpha blending. Made minor formatting and calculation adjustments in Water.shader and DefaultSetup.hlsl, and updated Variables.hlsl. Added corresponding .meta files for new shader assets.
2025-09-26 20:11:49 +02:00
DeMuenu
0f049de062 Refactor Moonlight lighting system in shaders
Replaces direct variable declarations and code blocks related to 'MoonsLight' with a new 'MoonlightGlobalVariables' macro included from Variables.hlsl. Adds OutLoopSetup macro for loop setup, updates all relevant shaders to use the new macros, and renames comments and identifiers from 'MoonsLight' to 'Moonlight' for consistency. Removes the obsolete MoonsLight.cingc include and its meta file.
2025-09-25 16:09:24 +02:00
DeMuenu
07730827f4 Refactor lighting code and add wave support to shaders
Modularized lighting calculations by introducing DefaultSetup.hlsl and Lambert.hlsl includes, and updated BlendinShader, LitParticles, and Water shaders to use these macros. Added new wave-related properties and logic to Water.shader for enhanced wave effects. Improved maintainability and consistency across shaders by centralizing light and Lambertian diffuse calculations.
2025-09-25 02:21:26 +02:00
DeMuenu
b9bfd0b559 Refactor light calculations into LightStrength.hlsl include
Moved light type calculation logic from BlendinShader.shader to a new include file, LightStrength.hlsl, for better modularity and maintainability. Updated the shader to use the new macro for light calculations, improving code clarity and reducing duplication.
2025-09-24 17:51:23 +02:00
DeMuenu
8f0fb9ab7c Update README.md
Fixed typo, and added light maps as a goal
2025-09-24 16:45:41 +02:00
DeMuenu
25aa259a38 Add initial README with project overview
Introduces a README file describing the MoonlightVRC project, its features, performance notes, quick start instructions, editor preview details, tips, and contribution guidelines.
2025-09-24 16:20:42 +02:00
DeMuenu
c5adc24bb0 Initial commit 2025-09-24 09:41:56 +02:00