Raised This Month: $ Target: $400
 0% 

about kRender


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 05-19-2010 , 01:57   about kRender
Reply With Quote #1

When I read amxconst.inc today, I find this:
Code:
/* Render for set_user_rendering() */
enum {
 kRenderNormal = 0,  /* src */
 kRenderTransColor,  /* c*a+dest*(1-a) */
 kRenderTransTexture,  /* src*a+dest*(1-a) */
 kRenderGlow,   /* src*a+dest -- No Z buffer checks */
 kRenderTransAlpha,  /* src*srca+dest*(1-srca) */
 kRenderTransAdd,  /* src*a+dest */
};
What does it mean ?

Thanks
__________________
Quote:
Destinies in my AWP sight are all alike;
Destinies out of my AWP sight in its own way.
epic . is offline
Send a message via ICQ to epic .
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 05-19-2010 , 02:28   Re: about kRender
Reply With Quote #2

They're the different constants for render types. You'd use certain things for different entity rendering properties.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 05-19-2010 , 03:03   Re: about kRender
Reply With Quote #3

Quote:
Originally Posted by wrecked_ View Post
They're the different constants for render types. You'd use certain things for different entity rendering properties.
Thank your for you quick reply.
Could you describe them more specific ? what they looks like when use them ?
Did you use the Hats.sma ? which render type looks like the appearance of hat when hat_glow set to 2
__________________
Quote:
Destinies in my AWP sight are all alike;
Destinies out of my AWP sight in its own way.
epic . is offline
Send a message via ICQ to epic .
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode