shader:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
shader:start [2025/05/28 10:35] – [Circle] mhshader:start [2026/05/26 10:02] (current) – [Documentation] mh
Line 108: Line 108:
     return step1*step2;     return step1*step2;
 } }
 +</code>
 +
 +Then get a rectangle by calling this function twice on the x and y :
 +
 +<code glsl>
 +    float mask = 0.;
 +    float b = .01;
 +    
 +    mask = drawBand(uv.x, -.2, .2, b);
 +    mask *= drawBand(uv.y, -.2, .2, b);
 </code> </code>
 ==== Adding Color ==== ==== Adding Color ====
Line 140: Line 150:
 ==== Online Editors ==== ==== Online Editors ====
  
-* [[https://twigl.app/|TwiGL App]] and [[https://github.com/doxas/twigl|TwiGL GitHub]]+* **[[https://twigl.app/|TwiGL App]]** and **[[https://github.com/doxas/twigl|TwiGL GitHub]]**
  
-* [[https://editor.isf.video/shaders/new|ISF Editor]]+* **[[https://editor.isf.video/shaders/new|ISF Editor]]**
  
-* [[http://editor.thebookofshaders.com/|Book of Shader's Editor]]+* **[[http://editor.thebookofshaders.com/|Book of Shader's Editor]]**
  
-* [[https://www.shadertoy.com/new|ShaderToy's Editor]]+* **[[https://www.shadertoy.com/new|ShaderToy's Editor]]**
  
 ==== Tools ==== ==== Tools ====
Line 162: Line 172:
  
 * [[https://shadertoyunofficial.wordpress.com/|Shadertoy's unofficial WordPress]] * [[https://shadertoyunofficial.wordpress.com/|Shadertoy's unofficial WordPress]]
 +
 +* [[https://www.xordev.com/|XOR website]]
  
  
  
  • shader/start.1748421309.txt.gz
  • Last modified: 2025/06/02 21:18
  • (external edit)