My first (pixel-)shader ever
Based on a pixel lightning shader by evolved.
Projects 8 different textures onto an object.
The blending texture map(s) is(/are) seperately scalable. (here scaled by two)
There are two blending textures used, each with rgba.
Projects 8 different textures onto an object.
The blending texture map(s) is(/are) seperately scalable. (here scaled by two)
There are two blending textures used, each with rgba.
That's cool.
ReplyDeleteGood for terrain texturing maybe
That's what I want to use it for.
ReplyDeleteET XYZ v2 maybe...
If it is too long of an explanation - you don't have to answer it but - what is it a pixel shader used for - and how do you use it. What is the benefit of making one?
ReplyDeleteYou can control how every single pxel of every single texture gets drawn.
ReplyDeleteYou can create effects that do whatever you want like that.
I could easily make the texture on this cube swaying in waves or blinking red...
What does the shader code look like?
ReplyDelete