uniformBlockShader.frag (316B)
1 #version 300 es 2 3 /* 4 Copyright (c) 2019 The Khronos Group Inc. 5 Use of this source code is governed by an MIT-style license that can be 6 found in the LICENSE.txt file. 7 */ 8 9 precision mediump float; 10 11 in vec3 normal; 12 in vec4 ecPosition; 13 14 out vec4 fragColor; 15 16 void main() 17 { 18 fragColor = vec4(normal/2.0+vec3(0.5), 1); 19 }