shader boiler plate

This commit is contained in:
JISAUAY committed 2024-09-23 10:00:00 -05:00
1 parent b154776905
commit 71f51f41f2
3 files changed
+53 -4

No files matched your search

+3 -3
View File
@@ -95,13 +95,13 @@ public class Game
// Setup world
World world = new World();
// Add stuff to world
world.addEntity(new Entity("/obs/cube.obj", "/shaders/shader.fraq", "/shaders/shader.vert"));
// Do open gl stuff
GL.createCapabilities();
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
// Add stuff to world
world.addEntity(new Entity("/obs/cube.obj", "/shaders/shader.fraq", "/shaders/shader.vert"));
// Main loop or something
while ( !glfwWindowShouldClose(window) )
{