Skip to content

Render object with plain material are drawn multiple times (and appears brighter) #745

@dlyr

Description

@dlyr

Plain material is suppose to draw without lighting. But it has some issue with ForwardRenderer.

It's mostly used for Ui or Debug, which seems to work fine (since there is no lighting in these rendering).
But if it's a geometry component, the ro is added to the light loop, even if it has plain material.

On simple solution is make plain material only affect ambient/zprepass, but it's not used in ui/debug rendering.
Another solution is to refactor the way ForwardRenderer choose how to draw things.
Or simply wait for the "new renderer" that can fix this (hopefully?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    EngineRelated to Ra::Enginebug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions