List all built-in GLSL functions in ShaderMaterial Doc
See original GitHub issueHi,
I think it would be great to add list of all the available built-in GLSL functions in the ShaderMaterial
docs.
This can be very useful when creating a custom shader.
This will certainly add more value to the documentation and will avoid confusion while searching functions elsewhere and interpreting it for threejs.
Thanks Team.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
ShaderMaterial – three.js docs
A material rendered with custom shaders. A shader is a small program written in GLSL that runs on the GPU. You may want...
Read more >12.5 - GLSL Built-in Functions and Variables - Learn WebGL
GLSL provides a significant number of built-in functions and you should be familiar with them. A complete list of these functions can be...
Read more >List of GLSL ES built-in variables
I am writing an article on WebGL and three.js, I'm trying to search all the built-in variables available in the vertex and fragment...
Read more >GLSL Shaders - Game development - MDN Web Docs
Fragment Shaders compute the renderings of a shape's colors and other ... variable — this is a special, global, and built-in GLSL variable....
Read more >GLSL & Shaders Tutorial - Understanding The Syntax And ...
And also the whats and hows behind shaders, the vertex and frag... ... GLSL built-in functions https://www.shaderific.com/ glsl -funct.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How about just link to the WebGL Reference Card?
Last 2 pages cover all of GLSL
https://www.khronos.org/files/webgl/webgl-reference-card-1_0.pdf
Unlike the list above they also tersely document what most of them do
I think that is somewhat misleading. The section “Built-in attributes and uniforms” refers to program entities provided by
three.js
. The new section “Built-in functions” would refer to entities provided by GLSL instead. I (and maybe other users) would expect GLSL functions defined bythree.js
.Against this backdrop,
Useful Links
seems more appropriate to me.