Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Runtime/DitherDown.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public enum DitherType { Bayer2x2, Bayer3x3, Bayer4x4, Bayer8x8 }
#endregion

#region Exposed parameters
public BoolParameter enable = new BoolParameter(true);

public ClampedIntParameter colorLevels = new ClampedIntParameter(16, 1, 24);
public DitherTypeParameter ditherType = new DitherTypeParameter { value = DitherType.Bayer2x2 };
Expand Down Expand Up @@ -40,7 +41,7 @@ static class IDs

#region Postprocess effect implementation

public bool IsActive() => _material != null;
public bool IsActive() => _material != null && enable.value;

public override CustomPostProcessInjectionPoint injectionPoint =>
CustomPostProcessInjectionPoint.AfterPostProcess;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ryantwarner.postprocessing.ditherdown",
"version": "1.0.0",
"version": "1.0.1",
"displayName": "DitherDown",
"description": "Custom post-processing effects for HDRP that dithers and downsamples the entire screen. Based on Kino and KinoEight.",
"unity": "2019.4",
Expand Down