This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:tutorials:shaders:getting_started_with_shaders [2020/08/05 12:30 (5 years ago)] – [The Shader] sausage | en:tutorials:shaders:getting_started_with_shaders [2025/09/30 17:26 (8 weeks ago)] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| This guide is designed to help you to get some simple shaders quickly working in Orx in order to build confidence using them. I will touch on a few key concepts but I recommend afterwards using a guide like [[https:// | This guide is designed to help you to get some simple shaders quickly working in Orx in order to build confidence using them. I will touch on a few key concepts but I recommend afterwards using a guide like [[https:// | ||
| - | Let's start as usual by creating a default project using the [[en: | + | Let's start as usual by creating a default project using the [[en: |
| ===== Setup ===== | ===== Setup ===== | ||
| Line 54: | Line 54: | ||
| Run this and you will find the logo is replaced by a gradient texture from red to yellow. | Run this and you will find the logo is replaced by a gradient texture from red to yellow. | ||
| - | {{ :en:tutorials: | + | {{ tutorials: |
| Nice and simple, using only two lines of shader code. | Nice and simple, using only two lines of shader code. | ||
| Line 86: | Line 86: | ||
| Run this and you will see the right hand side of the texture fading out, and the blue background starting to show through. | Run this and you will see the right hand side of the texture fading out, and the blue background starting to show through. | ||
| - | {{ :en:tutorials: | + | {{ tutorials: |
| So far, we have made the shader repaint every pixel and nothing of the original underlying texture has been preserved. What if we could blend or mix our colours with the original '' | So far, we have made the shader repaint every pixel and nothing of the original underlying texture has been preserved. What if we could blend or mix our colours with the original '' | ||
| Line 110: | Line 110: | ||
| This time, we're using the '' | This time, we're using the '' | ||
| - | {{ :en:tutorials: | + | {{ tutorials: |
| That's pretty cool right? | That's pretty cool right? | ||
| Line 130: | Line 130: | ||
| </ | </ | ||
| - | {{ :en:tutorials: | + | {{ tutorials: |
| Really effective! | Really effective! | ||