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 | 
 

 Glowing .Material Script

Go down 
AuthorMessage
Slycan



Game username : Sly
Server : KITO
Female Posts : 1198
Join date : 2011-07-25
Age : 27

PostSubject: Glowing .Material Script   Tue Jan 15, 2013 5:29 am

material Material-Name
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture BaseTexture.png
}
}
pass
{
emissive 1 1 1 1
scene_blend alpha_blend
texture_unit
{
texture GlowingTexture.png
}
}
}
}


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

Code:


material Material-Name
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5
         texture_unit
         {
            texture BaseTexture.png
         }
      }
      pass
      {
         emissive 1 1 1 1
         scene_blend alpha_blend
         texture_unit
         {
            texture GlowingTexture.png
         }
      }
   }
}

Back to top Go down
 
Glowing .Material Script
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: