Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 11/19/25 10:10
MRC.c and WFO
by 11honza11. 11/18/25 15:22
webGL
by Ice2642. 11/17/25 21:27
Camera always moves upwards?
by NeoDumont. 11/17/25 09:56
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Quad, AndrewAMD, TipmyPip), 5,904 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
SkinnyApe, tritom, sheliepaley, Blueguy, blobplayintennis
19179 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
texture Transform #182169
02/05/08 09:37
02/05/08 09:37
Joined: Jan 2008
Posts: 19
G
girish Offline OP
Newbie
girish  Offline OP
Newbie
G

Joined: Jan 2008
Posts: 19
hi
how to perform texture transform?

Re: texture Transform [Re: girish] #182170
02/05/08 10:30
02/05/08 10:30
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
In a shader?
...you have to modify the texcoords:
float 4 colormap = tex2D(sampler, Tex);
-> this would take the texture without any transformation

bias-> Tex+something
scal-> Tex*something
rotate-> mul(Tex,rotationmatrix)


Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1