Jump to content

textures not loading on my model.


Andr3wHur5t
 Share

Recommended Posts

Hi,

so here is the story I got a character for my game from dex-soft used fbx2gmf to make it in gmf format, converted the textures to dds format, and made the mat file then put it in the name of the defuse texture. I opened the model in the model viewer the model was black then I tried loading the model in a program that i made using leadwerks the model was still black.

 

Thanks in advance

Tools:

AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro

 

Programing & Scripting Languages:

C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby

Link to comment
Share on other sites

Make sure you are using the skin shaders in your .mat file

 

off the top of my head something like this:

 

texture0="abstract::YOUR DIFFUSE.dds"

shader="abstract::mesh_diffuse_bumpmap_skin.vert","abstract::mesh_diffuse.frag"
shadowshader="abstract::mesh_shadow_skin.vert",""

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

here is the full .mat file i used a cusom shader that uses {paralax and glow "my_glow.frag"}

it dose look basicly the same.

 

 

 

 

texture0="abstract::robot_d.dds"

clamp0=0,0,0

texture1="abstract::robot_n.dds"

clamp1=0,0,0

texture2="abstract::robot_e.dds"

clamp2=0,0,0

texture3="abstract::robot_s.dds"

clamp3=0,0,0

blend=0

depthmask=1

depthtest=1

overlay=0

zsort=0

cullface=1

castshadows=1

specular=1.00000000

bumpscale=1.00000000

gloss=0.500000000

shader="abstract::mesh_diffuse_bumpmap_parallax.vert","abstract::my_glow.frag"

shadowshader="abstract::mesh_shadow.vert",""

Tools:

AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro

 

Programing & Scripting Languages:

C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby

Link to comment
Share on other sites

here is the full .mat file i used a cusom shader that uses {paralax and glow "my_glow.frag"}

it dose look basicly the same.

 

ok .. lets try this again ..

 

Make sure you are using the skin shaders in your .mat file

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

oh

i get it now thanks,

got it working

 

is it still posable to have glow on the model?

Tools:

AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro

 

Programing & Scripting Languages:

C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby

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...