Skip to content

Commit

Permalink
Fix pixel shader typo in README (#8949)
Browse files Browse the repository at this point in the history
Fixes a typo in the README regarding pixel shaders.
  • Loading branch information
jantari authored Jan 29, 2021
1 parent 37cbcc3 commit e7d3262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/PixelShaders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ If your shader fails to compile, the Terminal will display a warning dialog and

## HLSL

The language we use to write pixel shaders is called `HLSL`. It a `C`-like language, with some restrictions.You can't allocate memory, use pointers or recursion.
The language we use to write pixel shaders is called `HLSL`. It's a `C`-like language, with some restrictions. You can't allocate memory, use pointers or recursion.
What you get access to is computing power in the teraflop range on decently recent GPUs. This means writing real-time raytracers or other cool effects are in the realm of possibility.

[shadertoy](https://shadertoy.com/) is a great site that show case what's possible with pixel shaders (albeit in `GLSL`). For example this [menger sponge](https://www.shadertoy.com/view/4scXzn). Converting from `GLSL` to `HLSL` isn't overly hard once you gotten the hang of it.
Expand Down

0 comments on commit e7d3262

Please sign in to comment.