Curiously Small Code

01/23/08 - 18:00 PST - Posted by Mike Acton, Engine Director

Here’s an email thread Mike Day and I had on the tech (engine) mailing list a while back trying to find a really quick way to do a texture swizzle on the SPU. There’s a few techniques in there that might interest the SPU coders out there. It all started with this innocent little comment by Mike Day: “I tried swizzling my test texture and mipmaps and was surprised how little code was needed to do it”, and went sideways from there

E-mail 0 from Mike Day

E-mail 1 from Mike Day

E-mail 2 from Mike Acton

E-mail 3 from Mike Day

E-mail 4 from Mike Acton

E-mail 5 from Mike Day

E-mail 6 from Mike Day

[ 0 ]