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();
        }
Example #2
0
 public Parallax(ShadersMod mod)
 {
     this.mod = mod;
 }