File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tutorials/Tutorial01_HelloTriangle Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ and how to render a simple triangle.
99
1010## Shaders
1111
12- This tutotial uses very basic shaders. The vertex shader generates a procedural triangle. It uses an array of hard-coded
12+ This tutorial uses very basic shaders. The vertex shader generates a procedural triangle. It uses an array of hard-coded
1313vertex positions in screen space and assigns red, green and blue colors to the vertices. The shader uses system-generated
1414vertex id as an array index.
1515
@@ -37,7 +37,7 @@ void main(in uint VertId : SV_VertexID,
3737 PSIn.Color = Col[VertId];
3838}
3939```
40- The shader is written in HLSL. Diligent Engine uses shader source code converter to translate HLSL
40+ The shader is written in HLSL. Diligent Engine uses a shader source code converter to translate HLSL
4141into GLSL when needed. It can also use shaders authored in GLSL, but there is no GLSL to HLSL converter.
4242
4343Pixel (fragment) shader simply interpolates vertex colors and is also written in HLSL:
You can’t perform that action at this time.
0 commit comments