GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: No Line Numbers


Texture generation by baldurk
1
 
data.Load("4.png");
data2.Load("4.png");
data2.Invert();
data2.Translate(Vectori(8, 8), Vectorf(0.0f, 0.0f, 0.0f, 0.0f), false);
data2.Blur(8);
data2.Blend(ONE, B_ALPHA, data);
gentex3.Load(data2);
gentex3.Bind();

// Draw quad