Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSLES/ShowNormals.glsles @ 12091

Last change on this file since 12091 was 12091, checked in by wiesep, 5 years ago

Updated programs and adjusted Material to work with GLSL>150

File size: 244 bytes
Line 
1#version 100
2precision mediump int;
3precision mediump float;
4
5attribute vec4 position;
6attribute vec3 normal;
7
8varying vec4 oUv0;
9
10uniform mat4 worldViewProj;
11
12void main()
13{
14        gl_Position = worldViewProj * position;
15        oUv0 = vec4(normal, 1.0);
16}
Note: See TracBrowser for help on using the repository browser.