helloworld-10 / Cobra-Engine

A simple game engine using OpenGL, GLFW and GLM
0 stars 0 forks source link

Add different light types #16

Closed helloworld-10 closed 1 month ago

helloworld-10 commented 1 month ago

Error where numlights is less that numlights in glsl fragment shader Add code for null check on lights array in shader or modify shader code dynamically based on number of lights in scene