Skip to content
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

Open
MrOnsku opened this issue Jul 12, 2023 · 3 comments
Open

Pixelation Shader Error #10

MrOnsku opened this issue Jul 12, 2023 · 3 comments

Comments

@MrOnsku
Copy link

MrOnsku commented Jul 12, 2023

Getting this error when trying to use the pixelation shader, any help?
image

@ACB23PO
Copy link

ACB23PO commented Oct 5, 2023

I also got this error not sure what to do about it

@hanshermanberg
Copy link

@MrOnsku @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

@ACB23PO
Copy link

ACB23PO commented Feb 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants