Skip to content

Non-directional lights not supported #2

@GalacticCurtain

Description

@GalacticCurtain

Hi I really love your hair shader version 9 but it doesn't work on any lights other than directional so I added the missing code after analyzing the shader code and now it works fine but I was wondering whether it was possible to get the same self-shadowing from point lights as it does from directional and spot lights and if so what would the new code look like? cuz I don't really have knowledge about shaders.
Directional from left side:
Directional
Point light from left side:
Point Light

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