onilink_

OniDev shader config

Feb 11th, 2022 (edited)
1,182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.55 KB | None | 0 0
  1. [
  2.  
  3. {
  4.   "name":"simple",
  5.   "file":"simple2d",
  6.   "poscoords_offset":0,
  7.   "texcoords_offset":2,
  8.   "camera2d_uniform":"transform",
  9.   "attribs":[
  10.     "2 pos",
  11.     "2 vertex_uv normalized",
  12.     "4 vertex_color normalized"
  13.   ],
  14.   "uniforms":[
  15.     "mat3 transform={}",
  16.     "int tex=0",
  17.     "vec4 blending_color={1,1,1,1}"
  18.   ]
  19. },
  20. {
  21.   "name":"solid",
  22.   "file":"no_texture",
  23.   "poscoords_offset":0,
  24.   "camera2d_uniform":"transform",
  25.   "attribs":[
  26.     "2 pos",
  27.     "4 color normalized"
  28.   ],
  29.   "uniforms":[
  30.     "mat3 transform={}"
  31.   ]
  32. }
  33.  
  34. ]
  35.  
  36.  
Advertisement
Add Comment
Please, Sign In to add comment