-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pixelation Shader Error #10
Comments
I also got this error not sure what to do about it |
@MrOnsku @Zooki0 In the three RendererFeature files, change this:
to this:
Source: https://gist.github.com/Refsa/54da34a9e2fc8e45472286572216ad17?permalink_comment_id=3582638 |
Thank you! 😊
…On Fri, 9 Feb 2024, 22:49 Herman Berg, ***@***.***> wrote:
@MrOnsku <https://github.com/MrOnsku> @Zooki0 <https://github.com/Zooki0>
In the three RendererFeature files, change this:
public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
{
fogPass.Setup(renderer.cameraColorTarget);
renderer.EnqueuePass(fogPass);
}
to this:
public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
{
renderer.EnqueuePass(ditheringPass);
}
public override void SetupRenderPasses(ScriptableRenderer renderer, in RenderingData renderingData)
{
ditheringPass.Setup(renderer.cameraColorTargetHandle);
}
Source:
https://gist.github.com/Refsa/54da34a9e2fc8e45472286572216ad17?permalink_comment_id=3582638
—
Reply to this email directly, view it on GitHub
<#10 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXPKTHTWTZ7DOQUDGX5QWCTYS2RWFAVCNFSM6AAAAAA2HYSZGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWG4YDKMRSGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
quick note to anyone who sees this, make sure to set the "ditheringPass" variable in the replacement code with the related pass. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting this error when trying to use the pixelation shader, any help?
The text was updated successfully, but these errors were encountered: