Jump to content

How to create .tex files from blender?


JohnBobSmith
 Share

Recommended Posts

Hello again. I am trying to export my model, but it needs a .tex file. I read online that I need to bake a texture for it to work, but my bake menu is non existent, and heres a pic:

 

https://www.dropbox.com/s/5d7qxqroxm26csv/blender_render_menu_missing.png?dl=0

 

So my questions are:

 

1) Why is there no bake menu? Every tutorial on the web has this bake menu.

2) How to create .tex files from blender?

 

I'm using blender 2.69 with cycles render, will upgrade soon if needed.

 

All help appreciated!

I'm an enthusiast developer looking to make games for Linux. :D

Link to comment
Share on other sites

Okay, so I'm encountering a slightly different problem now. I can export my model just fine, but when I load it in leadwerks it has no texture. To fix this, I go to the exported material, give it a diffuse shader and my .tex texture, and then save the material and save the model in leadwerks and then it shows up correctly. Any ideas as to why the material, upon export, doesnt have a shader or the image already present? Its a bit of an anoyance, but I was able to correct it myself.

 

Now to not suck so much at UV mapping...

I'm an enthusiast developer looking to make games for Linux. :D

Link to comment
Share on other sites

What is your workflow? Basically, this is how you should import textures into Leadwerks.

1. Place source image in your project folder, Leadwerks will automatically generate a .mat file.

2. Right click on the newly created .tex file within Leadwerks and click on the Generate Material option.

3. If your model appears white, then open you model in the model viewer and drag the new material onto the model in the viewer.

4. If your model appears black, then use one of the options (probably Angular Threshold under the normals command in the model viewer)

 

Some programs produce .mat files, but these will likely not be compatible with the Leadwerks .mat file format. I would ignore any .mat files that haven't been produced in Leadwerks, since these vary widely across the board.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...