zakorgy / voxel-editor

A GPU rendered voxel editor
Apache License 2.0
47 stars 9 forks source link

Refactor light in shaders #5

Closed zakorgy closed 4 years ago

zakorgy commented 4 years ago

The current lighting model clearly has flaws, we could use something like: https://github.com/SaschaWillems/Vulkan/tree/master/data/shaders/glsl/texture

zakorgy commented 4 years ago

Fixed in https://github.com/zakorgy/voxel-editor/pull/8