materials?

materials?

Postby Calzaath » 27 Nov 2012, 20:36

for some reason when i apply a material in blender an export it it doesn't show up in the game. i got two materials working but then they all stopped working. help?
Calzaath
 
Posts: 7
Joined: 26 Nov 2012, 23:58

Re: materials?

Postby ctdabomb » 27 Nov 2012, 21:00

you got materials working in the game? what you should/have to do is UV map the mesh to a texture(image) and export. the texture/image needs to be in either the textures folder or the folder of the track itself.
Some people are like slinkies... not really good for anything, but you still can't help smiling when you shove them down the stairs.
ctdabomb
 
Posts: 1075
Joined: 13 Dec 2011, 21:21
Location: halfway there

Re: materials?

Postby Auria » 29 Nov 2012, 00:52

I am not sure I fully understand the problem since your description of the problem is a little short. Here is my guess, please clarify if I guessed wrong

Blender's material panel is designed for use with a ray-tracing engine, not for real-time in games. For
STK, use UV mapping instead, procedural materials certainly cannot be rendered in real-time
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: materials?

Postby Calzaath » 22 Aug 2013, 18:48

alright, I'm going to have a go at asking more clearly.

In blender it looks like this: https://lh6.googleusercontent.com/-T38r ... enshot.JPG

in game it looks like this: https://lh6.googleusercontent.com/-nFuW ... nottex.jpg
Calzaath
 
Posts: 7
Joined: 26 Nov 2012, 23:58

Re: materials?

Postby CinusMinus » 22 Aug 2013, 20:28

In Blender go to UV Editing, then switch to edit mode. Select all faces you want the texture to be applied to and then (re)select the texture in the UV Image Editor. That should work. You can also turn on Textured Solid to preview your track. In STK it should look like that
CinusMinus
 
Posts: 20
Joined: 12 Aug 2013, 12:19

Re: materials?

Postby Calzaath » 23 Aug 2013, 13:49

alright, thanks man!
Calzaath
 
Posts: 7
Joined: 26 Nov 2012, 23:58

Who is online

Users browsing this forum: Bing [Bot] and 1 guest