Gamestudio Links
Zorro Links
Newest Posts
Alternative to Stooq for Zorro S
by cwford. 10/09/26 00:48
Stooq now requires an API key
by cwford. 10/08/26 23:27
ZorroGPT
by TipmyPip. 10/06/26 05:32
Purchase A8 full licence version
by jcl. 10/05/26 12:12
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (VoroneTZ, vince, TipmyPip), 12,467 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 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