mirror of
https://github.com/DeMuenu/MoonlightVRC.git
synced 2025-12-13 11:33:54 +00:00
Rename shader light variables to Udon-prefixed versions
Updated all relevant shader files and C# script to use Udon-prefixed light and player variables (e.g., _Udon_LightPositions, _Udon_LightColors, _Udon_PlayerCount) for consistency and to avoid naming conflicts. This change affects variable declarations, macro definitions, and all usages in BlendinShader, LitParticles, Water shaders, and included HLSL files.
This commit is contained in:
@@ -67,11 +67,11 @@ public partial class PlayerPositionsToShader : UdonSharpBehaviour
|
||||
|
||||
private float _nextUpdate = 0f;
|
||||
|
||||
private static readonly int UdonID_PlayerPositions;
|
||||
private static readonly int UdonID_LightCount;
|
||||
private static readonly int UdonID_LightColors;
|
||||
private static readonly int UdonID_LightDirections;
|
||||
private static readonly int UdonID_LightType;
|
||||
private int UdonID_PlayerPositions;
|
||||
private int UdonID_LightCount;
|
||||
private int UdonID_LightColors;
|
||||
private int UdonID_LightDirections;
|
||||
private int UdonID_LightType;
|
||||
|
||||
void Start()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user