Nigel
4355a12b9a
PART 1: - Added a Renderer class - Added a Application interface - Added a RenderPass interface - Added multiple RenderPass classes - Added a Window class - Moved Shaders into a Shader folder The idea behind this redesign is to make more abstractions. These abstraction are then supposedly going to make it easier to focus on the next couple tutorials main elements
11 lines
150 B
GLSL
11 lines
150 B
GLSL
#version 460 core
|
|
out vec4 FragColor;
|
|
|
|
in vec3 TexCoords;
|
|
uniform samplerCube cubemap;
|
|
|
|
|
|
void main()
|
|
{
|
|
FragColor = texture(cubemap, TexCoords);
|
|
} |