mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
14 lines
227 B
GLSL
Executable File
14 lines
227 B
GLSL
Executable File
#version 330 core
|
|
|
|
in vec3 texCoords;
|
|
|
|
layout (location=0) out vec4 FragColor;
|
|
layout (location=1) out vec4 BrightColor;
|
|
|
|
uniform samplerCube skybox;
|
|
|
|
void main(){
|
|
BrightColor=vec4(0);
|
|
FragColor=texture(skybox,texCoords);
|
|
}
|