Home› Technical Talk

Shader thread

polycounter lvl 19
Offline / Send Message
Joshua Stubbles polycounter lvl 19
In light of there being a free version of ShaderFX now available for us to tinker with, I thought it would be a good idea to start a thread (sticky by chance, mods?) where people can post all of their shaders for the community to use. Right now they're kind of spread out in P&P and things like that.

I'll post one I'm working on right now. It works as is, but I'll likely be adding normal map support and such. It's my first shader, so I know it's not "optimal". Go easy on me :)

This will blend 2 textures (channel 1) using a third black and white blend map (channel 3). There are options for tiling blend A and blend B, as well as their spec value. Currently, I have the specular value of those maps coming from their alpha channel. This is a terrain only kind of shader, so no alpha support. I'll make variants though.

Terrain_Blend1_noalpha.fx

shaderxx2.jpg

Replies

Sign In or Register to comment.