public VolumetricLighting(ShadersMod mod) { this.mod = mod; this.mod.capi.Settings.AddWatcher <int>("shadowMapQuality", OnShadowMapChanged); this.mod.capi.Settings.AddWatcher <int>("godRays", this.OnGodRaysChanged); this.mod.Events.PreGodraysRender += OnSetGodrayUniforms; RegisterInjectorProperties(); }
public Parallax(ShadersMod mod) { this.mod = mod; }