Author Topic: Problems with materials  (Read 1592 times)

Offline Dark Greyodon

  • Familiar Grounds Dweller
  • **
  • Posts: 58
  • Floof-O-Meter: 2
  • I'm a ghost robot with rocket feet
    • View Profile
Problems with materials
« on: December 28, 2012, 12:02:53 am »
I'm not really sure what I'm doing wrong. When downloading meshes I have no problem at all with the meshes themselves, but the materials never work. What do I do? I've unpacked them into "my_objects". Should I be doing something else?

Offline Wolfexpert79

  • Finest Floof
  • ***
  • Posts: 737
  • Floof-O-Meter: 45
  • I'm...shocked...T_T
    • View Profile
    • Gierra RPG Forum
Re: Problems with materials
« Reply #1 on: December 28, 2012, 12:06:52 am »
Did you type in the material under the materials tab of object maker?

Offline Dark Greyodon

  • Familiar Grounds Dweller
  • **
  • Posts: 58
  • Floof-O-Meter: 2
  • I'm a ghost robot with rocket feet
    • View Profile
Re: Problems with materials
« Reply #2 on: December 28, 2012, 12:11:11 am »
Yeah I've done that, still doesn't work.

CloudFish

  • Guest
Re: Problems with materials
« Reply #3 on: December 28, 2012, 11:35:51 am »
the materials are case-sensitive, and to get them to work, you need to open up your material file for each respected mesh so you can see what to type in.

upon opening up a material file with notepad, you will see something similar to the following. what i have below in red is what you will type into the game to make it work.

material aluethdrawing
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture aluethdrawing.jpg
         }
      }
   }
}

I'm satisfied you're not coding yourself yet, so all the destination texture lines should be good. In which case, you do not need to alter ANYTHING, just look at the notepad for reference of what materials you are wanting to use.

Also be sure that you have placed all the .png and .jpg files into my_objects that came with your downloaded objects. It could be they just aren't being found, or it could be, like above, that you aren't typing in the right material name.

Offline Dark Greyodon

  • Familiar Grounds Dweller
  • **
  • Posts: 58
  • Floof-O-Meter: 2
  • I'm a ghost robot with rocket feet
    • View Profile
Re: Problems with materials
« Reply #4 on: January 07, 2013, 01:53:17 pm »
Thanks Cloudfish. :) Sorry for the late thank-you, I got distracted with map making.