Added shaders from i-mic-fps, preload shaders if cyberarm_engine/opengl has been required.

This commit is contained in:
2023-01-08 17:30:37 -06:00
parent d1d87db070
commit 458731a534
9 changed files with 166 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
module CyberarmEngine
class GBuffer
attr_reader :screen_vbo, :vertices, :uvs
attr_reader :width, :height
def initialize(width:, height:)
@width = width