public void ChangeEffect() { settingsIndex = (settingsIndex + 1) % NonPhotoRealisticSettings.PresetSettings.Length; Settings = NonPhotoRealisticRendering.PresetSettings[settingsIndex]; }
public override void SetParameters(NonPhotoRealisticRendering NPRrender) { SetParameters(); }
public ToonPostProcessShader() { settingsIndex = 0; Settings = NonPhotoRealisticRendering.PresetSettings[settingsIndex]; }
public NonPhotoRealisticRendering getSettings(int settingsIndex) { Settings = NonPhotoRealisticRendering.PresetSettings[settingsIndex]; return(Settings); }