mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 10:48:34 +02:00
+ | Switched to compute shader
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
# define WIDTH 1920
|
||||
# define HEIGHT 1080
|
||||
|
||||
|
||||
# include "glm/glm.hpp"
|
||||
# include "glm/gtc/matrix_transform.hpp"
|
||||
# include "glm/gtc/type_ptr.hpp"
|
||||
@ -23,8 +24,14 @@
|
||||
# include "glad/gl.h"
|
||||
# include "GLFW/glfw3.h"
|
||||
|
||||
|
||||
# include <iostream>
|
||||
|
||||
struct Vertex {
|
||||
glm::vec2 position;
|
||||
glm::vec2 texCoord;
|
||||
};
|
||||
|
||||
# include "Camera.hpp"
|
||||
# include "Window.hpp"
|
||||
# include "Shader.hpp"
|
||||
|
Reference in New Issue
Block a user