public static void LightColorMultiplier(int style, ref float r, ref float g, ref float b) { ModWaterStyle waterStyle = GetWaterStyle(style); if (waterStyle != null) { waterStyle.LightColorMultiplier(ref r, ref g, ref b); r *= Lighting.negLight * Lighting.blueWave; g *= Lighting.negLight * Lighting.blueWave; b *= Lighting.negLight * Lighting.blueWave; } }
public static void LightColorMultiplier(int style, ref float r, ref float g, ref float b) { ModWaterStyle waterStyle = GetWaterStyle(style); if (waterStyle != null) { waterStyle.LightColorMultiplier(ref r, ref g, ref b); r *= Lighting.LegacyEngine._negLight * Lighting.LegacyEngine._blueWave; g *= Lighting.LegacyEngine._negLight * Lighting.LegacyEngine._blueWave; b *= Lighting.LegacyEngine._negLight * Lighting.LegacyEngine._blueWave; //TODO: Make this work with the new lighting engine. } }