Skip to content

Maybe implement lighting for lines and points #8

Open
@jsocol

Description

@jsocol

Need to double-check what the behavior should be here. Lines don't have surface normals so can't really interact with positional or spotlights. They could potentially interact with directional lights but it seems like that would be based on the sine of the angle between the line and light direction, rather than cosine of some normal, (i.e. lines parallel to the light direction wouldn't catch the light at all) but I may be overthinking this. It's possible the intent in D3D9 is that they just have color, not materials and not lighting effects.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions