Sha256: 171882ca49e075be6313e8cf62865abf25ef2118458d621c55e5816ac0cd10a3
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
shared attribute vec4 VERTEX_POSITION, VERTEX_COLOR; shared attribute vec3 VERTEX_NORMAL; shared attribute vec2 VERTEX_TEXCOORDS; void main(void) { vec4 pos = VERTEX_POSITION; float n = snoise(vec4(pos.xyz, time)); pos.xyz += normalize(pos.xyz)*n; gl_Position = pMatrix * mvMatrix * pos; vColor = vec4(n); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jax-0.0.0.5 | spec/example_app/app/shaders/blob/vertex.ejs |