mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Initital shader lighting support
This commit is contained in:
@@ -15,6 +15,7 @@ class IMICFPS
|
||||
shader.set_uniform("hasTexture", object.model.has_texture?)
|
||||
|
||||
# TODO: Upload and use lights
|
||||
shader.set_uniform("lightPos", lights.first.position)
|
||||
|
||||
handleGlError
|
||||
draw_model(object.model)
|
||||
|
||||
Reference in New Issue
Block a user