Done before
- Pixel Spirit Deck (spoiler)
- shading in Blender
- for textures and videos
- flat
- on AFrame
Ideas
- half wireframe, half shaded
- alt. half transparent mesh via fragment shader alpha
vec4(color, alpha);
linked to position.x
- low poly fragment shader
- color each vertex using a color randomly picked within a spectrum
- GLSL sound reactive in VR explorer
- controller to adjust values
- consider VR-friendly version of blockly
- presets to
- apply sin() and other math operations
- add common variables e.g. position
- can be configured for VRing
- having volume, beat, etc as input variables
- versioning to keep a previous shader as background/overlay/backup
inout
/out
for "returning" multiple values from a function
glFragColor
, glFragCoord
- no loops with variables
- but can loop to upper bound then check inside the loop
- problems with
pow()
- model view projection ->
gl_Position = projection * view * model * vec4(position, 1);
See also after https://github.com/stackgl/webgl-workshop
To explore
Note
My notes on Tools gather what I know or want to know. Consequently they are not and will never be complete references. For this, official manuals and online communities provide much better answers.