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:00 ID:kg8QnQuQ

>>11 cont.

A 2d coordinate which has been created from interpolating between the texture coordinates set at the vertices of the triangle.

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