Skip to content

Updated pbr breaks instancing #2435

@riccardobl

Description

@riccardobl

this line needs to be wPosition = TransformWorld(modelSpacePos).xyz; or it won't work with instancing

wPosition = (g_WorldMatrix * vec4(inPosition, 1.0)).xyz;

also lPosition seems to be unusued

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that is supposed to work, but doesn't. More severe than a "defect".

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions