Skip to content

Commit 5848191

Browse files
color category
1 parent 15d7416 commit 5848191

File tree

7 files changed

+34
-2
lines changed

7 files changed

+34
-2
lines changed
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

main/shaderEditor/colors.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<page-title>Color Blocks</page-title>
2+
3+
<h1 class="centered">Color Blocks</h1>
4+
5+
<h2>
6+
"hue saturation value" and "hue saturation value alpha"
7+
</h2>
8+
<embedded-svg src="main/shaderEditor/blocks/colors/hueSaturationValue.svg"></embedded-svg>
9+
<embedded-svg src="main/shaderEditor/blocks/colors/hueSaturationValueAlpha.svg"></embedded-svg>
10+
<p>
11+
Returns a colour of the desired hue, saturation, and value.<br>
12+
<ul>
13+
<li>Hue is in a range of (0-360)</li>
14+
<li>Saturation is in a range of (0-100)</li>
15+
<li>Value is in a range of (0-100)</li>
16+
<li>if applicable alpha is in a range of (0-255)</li>
17+
</ul>
18+
</p>
19+
20+
<h2>
21+
"hue saturation value" and "hue saturation value alpha"
22+
</h2>
23+
<embedded-svg src="main/shaderEditor/blocks/colors/redGreenBlue.svg"></embedded-svg>
24+
<embedded-svg src="main/shaderEditor/blocks/colors/redGreenBlueAlpha.svg"></embedded-svg>
25+
<p>
26+
Returns a colour of the desired hue, saturation, and value.<br>
27+
All values are in the range of (0-255).
28+
</p>

main/shaderEditor/looks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,5 @@ <h2>
8989
</h2>
9090
<embedded-svg src="main/shaderEditor/blocks/looks/colorAt3DTexture.svg"></embedded-svg>
9191
<p>
92-
Allows you to get the colour of a texture at a desired uv coordinate, but with a third dimension.
92+
Allows you to get the colour of a texture at a desired uv coordinate, but with a third dimension that being the w coordinate.
9393
</p>

main/shaderEditor/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2>
4444
<li><a href="?page=shaderEditor%2Fevents">Event Blocks</a></li>
4545
<li><a href="?page=shaderEditor%2Fvertex">Vertex Blocks</a></li>
4646
<li><a href="?page=shaderEditor%2Flooks">Looks Blocks</a></li>
47-
<li><a href="">Color Blocks</a></li>
47+
<li><a href="?page=shaderEditor%2Fcolors">Color Blocks</a></li>
4848
<li><a href="">Control Blocks</a></li>
4949
<li><a href="">Operators</a></li>
5050
<li><a href="">Sensing Blocks</a></li>

0 commit comments

Comments
 (0)