craftablescience / ChiraEngine

A customizable MIT-licensed game engine.
https://craftablescience.info/ChiraEngine/
MIT License
33 stars 6 forks source link

Buggy Lighting #73

Open craftablescience opened 1 year ago

craftablescience commented 1 year ago

Describe the Bug

There's a bug with the phong lighting system currently available. Specular reflections are very wrong, and that part of the lighting shader should be rewritten.

To Reproduce

Just look at the teapot in the editor with a few lights placed and move the camera around.

Operating System

Windows 11