Skip to content

UE5.3 compatibility - getting errors in compute shader base #11

@SalvatoSC

Description

@SalvatoSC

Hi,
I just started learning compute shaders in unreal and wanted to follow your Recipe "Making a custom Advanced Output material expression accessible from Compute Shaders in Unreal Engine 5"

When I generate AdvancedOutputComputeShader.cpp I end up with errors on lines 168 and 185
DrawRenderState.SetViewUniformBuffer(ViewUniformBuffer);
RHICmdList.SetComputeShader(ComputeShaderRHI);
Both of those funtions have been depracated after 5.1 and I don't know where to begin with updating those for 5.3. Can you please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions