Skip to content
Snippets Groups Projects

Resolve "Mesh Shader Implementation"

Merged Ghost User requested to merge 87-mesh-shader-implementation into develop
6 files
+ 135
82
Compare changes
  • Side-by-side
  • Inline
Files
6
#version 450
#extension GL_ARB_separate_shader_objects : enable
layout(location = 0) in vec3 VertexColor;
layout(location = 1) in vec3 passNormal;
layout(location = 0) out vec4 outColor;
layout(location = 0) in vec3 passNormal;
layout(location = 0) out vec3 outColor;
void main() {
vec3 vis = normalize(passNormal) * 0.5 +0.5;
outColor = vec4(vis , 1);
outColor = normalize(passNormal) * 0.5 +0.5;
}
\ No newline at end of file
Loading