bmchtech / rengfx

lightweight, expressive, extensible multimedia engine
Apache License 2.0
82 stars 5 forks source link

port old raylib phong lighting stuff #8

Closed redthing1 closed 3 years ago

redthing1 commented 3 years ago

https://github.com/raysan5/raylib/commit/1bcb5ddd505e5c4bdac6f254e931e9c3145be88d https://github.com/raysan5/raylib/commit/80eb4f3f50bb9773dd0e5d4b70c50e18df8996e5

redthing1 commented 3 years ago

https://github.com/raysan5/raylib/blob/4b51248372302bd9f1baf2452b389f57f0173d59/examples/shaders_basic_lighting.c https://github.com/raysan5/raylib/blob/4b51248372302bd9f1baf2452b389f57f0173d59/examples/resources/shaders/glsl330/phong.fs https://github.com/raysan5/raylib/blob/4b51248372302bd9f1baf2452b389f57f0173d59/examples/resources/shaders/glsl330/phong.vs

redthing1 commented 3 years ago

image

WIP!