UNPKG
@absulit/points
Version:
alpha (0.8.0-alpha.1)
latest (0.8.0)
0.8.0
0.8.0-alpha.1
0.7.0
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
0.1.0-alpha.5
0.1.0-alpha.4
0.1.0-alpha.3
0.1.0-alpha.2
0.1.0-alpha.1
A Generative Art library made in WebGPU
github.com/Absulit/points
Absulit/points
@absulit/points
/
src
/
core
/
RenderPasses
/
bloom
/
vert.js
16 lines
(12 loc)
•
288 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const
vert
=
/*wgsl*/
`
@vertex
fn
main
(
@location(0)
position: vec4f,
@location(1)
color: vec4f,
@location(2)
uv: vec2f,
@builtin(vertex_index)
vertexIndex: u32 )
-> Fragment {
return
defaultVertexBody(position, color, uv); } `; export
default
vert;