Skip to content

[FEATURE REQUEST] Direct light #47

Description

@ereator

Is your feature request related to a problem? Please describe.
A new direct light source CLightDirect class should accompany existing spot light source CLightSpot class.

Describe the solution you'd like
Implement the CLightDirect class with the following parameters:

  • Vec3f intensity
  • Vec3f org
  • Vec3f dir
  • float hotspotRadius - radius of an inner cylinder with constant surface illumination
  • float falloffRadius - radius of an outer cylinder with attenuated illumination (attenuation function might be taken from the CLightSpot class)
  • bool castShadow

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

    feature requestNew feature or requestlightIssue related to a light source or lighting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions