Skip to content

Update instancing pipeline uniforms alongside displace uniforms #106

@printer83mph

Description

@printer83mph

Right now, node uniform updates only trigger displace pipeline updates.

The below commented out code could do this. It currently does not have a function to point to. We could either A) create a matching uniform update method for instancing pipeline(s), or B) replace the current setDisplacePipelineUniform method with a universal setUniform method, setting the value for all of the TerrainRenderer's pipelines.

// terrainRendererRef.current?.setInstancingPipelineUniform(key, value);

Updated:

terrainRendererRef.current?.setDisplacePipelineUniform(key, value);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions