Skip to content

As a map observer I'd like to see prims look more "3D" (directional lighting) #25

Description

@kf6kjg

Just as #21 deals with terrain, this deals with prim faces.

In theory this should be as simple as computing the angle between the normal and the "sun direction" vector in 3D. Then 180deg is full bright and 90 deg or less is full dim. Tuning the endstops and the curve is the exercise.

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

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions