mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
outsourced cubemap generation materials can have nonuniform properties recreating skyboxes
14 lines
194 B
GLSL
Executable File
14 lines
194 B
GLSL
Executable File
#version 330 core
|
|
|
|
layout (location = 0) in vec3 aPos;
|
|
|
|
out vec3 texCoords;
|
|
|
|
uniform mat4 projView;
|
|
|
|
void main(){
|
|
texCoords = aPos;
|
|
vec4 pos = projView * vec4(aPos, 1);
|
|
gl_Position = pos;
|
|
}
|