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.

Comments

  1. That's cool.
    Good for terrain texturing maybe

    ReplyDelete
  2. That's what I want to use it for.
    ET XYZ v2 maybe...

    ReplyDelete
  3. 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?

    ReplyDelete
  4. You can control how every single pxel of every single texture gets drawn.
    You 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...

    ReplyDelete
  5. What does the shader code look like?

    ReplyDelete

Post a Comment

Popular posts from this blog

How to monitor a directory for changes with ReadDirectoryChangesW

Coins - Pay to Win

Fastest way to zero out memory - stream past cache with movntdq/_mm_stream_si128