Skip to content

GltfImporter: spot light with outer angle of 90° produces error #139

Description

@pezcode

KHR_lights_punctual states:

outerConeAngle | Must be greater than innerConeAngle and less than or equal to PI / 2.0

So 90° should be allowed 🙇

Relevant code is here:

if(innerConeAngle < Rad(0.0_degf) || innerConeAngle >= outerConeAngle || outerConeAngle >= Rad(90.0_degf)) {

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions