Jump to content

Texture not appearing/working in game


Recommended Posts

This was my first mod so i didn't expect it to work first time, the game will load up fine and it loads the model with its collider but but the textures are all messed up. A couple of the textures load fine, the rest are either using the wrong section of the UV map or just don't load at all. The strange thing is the texture loads fine in blender and unity so im stumped as the the problem, here what im seeing in ksp

OXVUoho.png

and this is what im seeing in unity and blender

7r0K1oB.png

no collider

0HFrlIH.png

with collider

eOnPgyN.png

Link to comment
Share on other sites

are the textures all in the same folder as MU file?

it looks like it's pulling the incorrect texture on the main structure. the incorrect texture has alpha, making part of your ring invisible.

you can use MODEL{} to assign mesh and texture directly

MODEL{
model = mymod/part/stargatering //full path to your mesh
texture = texure, mymod/part/stargatetexture1 //texture referred to by the MU, full path to texture you want to assign. repeat texture line for all the textures in the model
}

Link to comment
Share on other sites

my best guess is you have in unity more then one material defined for this part.

click your part in unity, look in the hierrchy for the line where it says

Material:

size = 2 and change that to 1

If my guess is right, that should fix it..

Please: next time you post screen shot, select your part first so we can see the settings in the screenshot.

Link to comment
Share on other sites

it's probably missing a texture.

try it without the texture = lines

MODEL
{
model = full path to your model from Gamedata
}

if the model looks the same as your first screenshot; then you know the model is not getting the correct textures. Use KSP Diffuse shader to start with until the textures look correct; then change to the shader you need.

Edit: Good call philotical

Link to comment
Share on other sites

I'm pretty confident I know what this is. You have more than one material to a mesh in blender maybe. I had the same problem. Here's my thread.

http://forum.kerbalspaceprogram.com/threads/75803-Only-a-fraction-of-my-custom-part-loads-into-KSP

edit: Here's a pic. You can't have more than one material listed in the table on the right. If you jointed parts together it might have caused this problem without you knowing.

FlSyszH.png

Edited by clown_baby
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

×
×
  • Create New...