Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
here are a couple tools to check out: https://shadered.org/ a really cool tool for shader editing (free and open source- download) https://www.shadertoy.com/ a website where people share the shaders they have created https://www.youtube.com/watch?v=... a video about the SHADERed linked above |
||||
|
How do you make it work with CC6? |
||||
|
well, shaders are a VERY complicated subject... you really need to research what shaders are and what they can do. basically, they are programs (codes) that tell the GPU (your graphics card) what to draw on the computer screen (vertex shaders) and how adjust it (pixel shaders).... plus there are other types of shaders. so they are written in a program language that is directed at your GPU. to create shaders - you need to learn how to write in these programs (the 2 most common are HLSL and GLSL) and how to apply them in your game. like I said... complicated! but in the CC Documentation, there is a section about shaders and how to use them in CC6... niko even provides and couple of examples. the bottom line is if you want to work with shaders (they can create some really cool effects) you will need to do some research about them and learn some new skills. the links I provided above are intended as just a starting point to look at and learn more about how they are written... even if you decide not to create - they are a good source to try to better understand what these (pixel) shaders are and how they work... cheers and good luck |
||||
|
Also, get Niko's example running may be the first step. I did it by adding a behaviour to a mesh that contains a section that is executed only once. This section contains the whole example from the docs. You only have to replace the cubemesh reference by "node" - you can use the 2D jumpnrun extension as a basis. here is what I've done:
|
||||
|
that said, the page shadertoy just froze my browser and half-froze the system, had to end a couple of programs to get the gui responsive again. Shaders are assembler programs, and seemingly, despite running on the GPU, they can crash a system almost as easy as assembler on the CPU. It was the second ocean shader on that page. But it's amazing what some people achieve, shaders are soo limited in commands - some cracks write entire raytracers as shaders, running near realtime usability. |
|