Skip to content

Common mistake on IBL specular in pbr.hlsl #2

@x380kkm

Description

@x380kkm

I found this issue in another technique
And it also appears here.
float3 specular = prefilteredColor * (F * brdf.x + brdf.y)
should be changed into
float3 specular = prefilteredColor * (F0 * brdf.x + brdf.y)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions