forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trying to tint a particle..

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
gotmilk065



Joined: 28 Nov 2009
Posts: 25

PostPosted: Fri Apr 02, 2010 6:58 am    Post subject: Trying to tint a particle.. Reply with quote

Okay. I want some gray particles, right?

However, since I'm using additive alpha, it would seem that using sceGuColor (GU_RGBA(128, 128, 128, 255)); simply makes them half transparent!

Can anybody think of a way to color my particles properly?
Back to top
View user's profile Send private message
gotmilk065



Joined: 28 Nov 2009
Posts: 25

PostPosted: Fri Apr 02, 2010 9:23 am    Post subject: Reply with quote

I'm currently using sceGuBlendFunc(GU_ADD, GU_SRC_ALPHA, GU_FIX, 0, 0xFFFFFFFF);
Back to top
View user's profile Send private message
gotmilk065



Joined: 28 Nov 2009
Posts: 25

PostPosted: Fri Apr 02, 2010 10:50 am    Post subject: Reply with quote

It's a bit unfortunate to have a triple post, but I figured it out. Sorry, again, for the triple post o_o

I tried to fix the second one but I couldn't find a delete button. I'm used to forums with automerge >_>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group