HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
The domain www.kitopen.com will expire on 2018-08-17. Update your bookmarks to point at http://kito.forumotion.com/
You can use google search to find threads and posts here now. Example

Share
 

 Item texture material (solved)

Go down 
AuthorMessage
Khaao

Khaao

Male Posts : 260
Join date : 2014-09-07
Age : 22

item - Item texture material (solved) Empty
PostSubject: Item texture material (solved)   item - Item texture material (solved) I_icon_minitimeSat May 28, 2016 10:22 pm

item - Item texture material (solved) Game_211
item - Item texture material (solved) Game_212
item - Item texture material (solved) Game_211
Hello so i made an item and finally export it to my game but i dont know how do i enable texture on it?

and also Yes, i made UV map to it

it has material file when i export but it's kinda like this so i dont know what to do to let the texture show in-game

Code:
material CollarMat
{
 receive_shadows on
 technique
 {
 pass
 {
 ambient 0.500000 0.500000 0.500000 1.000000
 diffuse 0.640000 0.640000 0.640000 1.000000
 specular 0.500000 0.500000 0.500000 1.000000 12.500000
 emissive 0.000000 0.000000 0.000000 1.000000
 }
 }
}


Last edited by ✪ Saz on Mon May 30, 2016 1:38 pm; edited 1 time in total
Back to top Go down
FagonStar

FagonStar

Game username : FagonStar
Server : Impressive Whatchamacallit
Female Posts : 1060
Join date : 2011-09-20
Location : In your closet.

item - Item texture material (solved) Empty
PostSubject: Re: Item texture material (solved)   item - Item texture material (solved) I_icon_minitimeSat May 28, 2016 11:21 pm

Did you remember to add this?
Code:

         texture_unit
         {
            texture texture.png/jpg/targa/whatever alpha
Back to top Go down
Tsezar

avatar

Game username : Left Impressive Title.
Male Posts : 411
Join date : 2015-03-09

item - Item texture material (solved) Empty
PostSubject: Re: Item texture material (solved)   item - Item texture material (solved) I_icon_minitimeSun May 29, 2016 7:35 am

If it's a simple item, you may use this code:
Code:
material MaterialNameMat
{
 receive_shadows on
 technique
 {
 pass
 {
 ambient 1.000000 1.000000 1.000000 1.000000
 diffuse 1.000000 1.000000 1.000000 1.000000
 specular 0.010000 0.010000 0.010000 1.000000
 emissive 0.000000 0.000000 0.000000 1.000000
 texture_unit
 {
 texture TextureName.png
 tex_address_mode wrap
 filtering trilinear
 }
 }
 }
}
You may use not only .png, you may use anything you want, but do not forget to change it.
Back to top Go down
Khaao

Khaao

Male Posts : 260
Join date : 2014-09-07
Age : 22

item - Item texture material (solved) Empty
PostSubject: Re: Item texture material (solved)   item - Item texture material (solved) I_icon_minitimeSun May 29, 2016 10:04 pm

Shiza Inu wrote:
If it's a simple item, you may use this code:
Code:
material MaterialNameMat
{
 receive_shadows on
 technique
 {
 pass
 {
 ambient 1.000000 1.000000 1.000000 1.000000
 diffuse 1.000000 1.000000 1.000000 1.000000
 specular 0.010000 0.010000 0.010000 1.000000
 emissive 0.000000 0.000000 0.000000 1.000000
 texture_unit
 {
 texture TextureName.png
 tex_address_mode wrap
 filtering trilinear
 }
 }
 }
}
You may use not only .png, you may use anything you want, but do not forget to change it.

still not working
Back to top Go down
Jayx

Jayx

Game username : Jayx
Server : Royal Elements
Female Posts : 338
Join date : 2012-03-19
Age : 21

item - Item texture material (solved) Empty
PostSubject: Re: Item texture material (solved)   item - Item texture material (solved) I_icon_minitimeSun May 29, 2016 10:20 pm

What is the texture file's name (.png /.jpg included)
and what material name is the model reading
Back to top Go down
Khaao

Khaao

Male Posts : 260
Join date : 2014-09-07
Age : 22

item - Item texture material (solved) Empty
PostSubject: Re: Item texture material (solved)   item - Item texture material (solved) I_icon_minitimeMon May 30, 2016 1:36 pm

Worked thanks!
Back to top Go down
Sponsored content




item - Item texture material (solved) Empty
PostSubject: Re: Item texture material (solved)   item - Item texture material (solved) I_icon_minitime

Back to top Go down
 
Item texture material (solved)
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: