파일 분리, 셰이더 로드까지 수강.
This commit is contained in:
8
shaders/basic.frag
Normal file
8
shaders/basic.frag
Normal file
@@ -0,0 +1,8 @@
|
||||
#version 450
|
||||
#include "common.glsl"
|
||||
|
||||
layout(location = 0) out vec4 out_color;
|
||||
|
||||
void main() {
|
||||
out_color = vec4(1.0, 0.0, 0.5, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user