Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

HLSL Shaders

Name: Anonymous 2007-08-30 11:56 ID:VUkDdlhQ

LOL shaders wtf.

I cant manipulate my texture coords properly.
float2 UV0 : TEXCOORD0;
float2 changedUV = (UV0.x - Scrollu,UV0.y - Scrollv);
Col = tex2D(g_DiffuseSampler, changedUV );                   
fairly strightforward, but not.
So..... basics time. what does TEXCOORD0 pass into 'UV0'

Name: Anonymous 2007-08-31 6:01 ID:kg8QnQuQ

If all you are trying to do is make a texture scroll you don't even need to use shaders, you can just do a matrix texture transform using the fixed function pipeline.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List