HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Making things ghostlike

Go down 
AuthorMessage
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2583
Join date : 2011-07-24
Age : 30

PostSubject: Making things ghostlike   Tue Mar 06, 2012 3:57 pm

I was experimenting with spectral critters and couldn't get their transparency quite right since the normal alpha_rejection greater makes it partly transparent.

[You must be registered and logged in to see this image.]

Code:
material spectraltigerferal_blue_0
{
   transparency_casts_shadows on
   receive_shadows on
   technique
   {
      pass
      {
         scene_blend one dest_alpha
         cull_hardware none
         cull_software none
         ambient 0.3 0.3 0.3
         specular 0 0 0 1 128
         texture_unit
         {
            tex_address_mode clamp
            texture SpectralTigerblue.png -1
         }
      }
   }
}

The important part is during pass.
Code:
scene_blend one dest_alpha
Back to top Go down
littlemeow100



Female Posts : 8
Join date : 2011-07-31
Age : 20

PostSubject: Re: Making things ghostlike   Wed Jun 20, 2012 6:56 am

Thanks for posting this, this will be a lot of help for our server of Ghosts.
Back to top Go down
 
Making things ghostlike
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: START HERE :: KITO's IT Source Code :: Guides & FAQs-
Jump to: