Skip to content

Ambient color values not being applied #4

@askhuman

Description

@askhuman

Thanks for sharing this nice implementation.

There is a small bug in engine.py on line 72:
color = material.ambient * Color.from_hex("#000000")
Color is being set to black i.e. 0, so ambient values are never applied. Should be Color.from_hex("#ffffff") or Color(0, 0, 0)

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