VSHém6‹ u_modelView u_modelViewProj ”attribute vec3 a_normal; attribute vec3 a_position; attribute vec2 a_texcoord0; varying vec3 v_normal; varying vec3 v_pos; varying vec2 v_texcoord0; varying vec3 v_view; uniform mat4 u_modelView; uniform mat4 u_modelViewProj; void main () { vec4 tmpvar_1; tmpvar_1.w = 1.0; tmpvar_1.xyz = a_position; gl_Position = (u_modelViewProj * tmpvar_1); v_pos = (gl_Position.xyz / gl_Position.w); vec4 tmpvar_2; tmpvar_2.w = 1.0; tmpvar_2.xyz = a_position; v_view = (u_modelView * tmpvar_2).xyz; vec4 tmpvar_3; tmpvar_3.w = 0.0; tmpvar_3.xyz = ((a_normal * 2.0) - 1.0); v_normal = (u_modelView * tmpvar_3).xyz; v_texcoord0 = a_texcoord0; }