Feral Heart

Help & Guidance => Game Help => Topic started by: Felon on May 25, 2016, 01:01:49 am

Title: Mane Coding Problem!
Post by: Felon on May 25, 2016, 01:01:49 am
Ok, so I don't really know where to put this topic, excuse this for being here  :-[

I can't seem to get this presets mane coding right(it's my first so im a noob xD) It's just a big white blob.


Picture


(http://i.imgur.com/s5EPi2y.jpg)


Can anyone help me please?
Title: Re: Mane Coding Problem!
Post by: ArcticGalaxy on May 25, 2016, 01:04:08 am
Can you send a picture of the coding by chance? (I'm dumb, so I have to look at things to understand them. xD)
Title: Re: Mane Coding Problem!
Post by: Warriorstrike on May 25, 2016, 01:05:10 am
Moving this over to the Game Help board for you so that people will be able to assist you better.
Title: Re: Mane Coding Problem!
Post by: Felon on May 25, 2016, 01:06:10 am
Can you send a picture of the coding by chance? (I'm dumb, so I have to look at things to understand them. xD)

Here's the coding :

material preset_2_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_2mane.png
         }
      }
   }
}
}
Title: Re: Mane Coding Problem!
Post by: Hakumi on May 25, 2016, 01:11:37 am
Looks like you have some unnecessary lines in there floof ^^

For starters take out the 'lighting_off' & 'depth_write off'
And replace where it says 'scene_blend alpha_blend' with this -> 'alpha rejection greater_equal 128'
And take out that bottom bracket so there will be 4 bottom ones.
Title: Re: Mane Coding Problem!
Post by: ArcticGalaxy on May 25, 2016, 01:12:24 am
Are you sure that the name of the mane file in the preset folder matches the name in coding? It has too be exactly the same, otherwise it won't work.
Title: Re: Mane Coding Problem!
Post by: G4RG0YLE on May 25, 2016, 07:23:07 pm
Try this, bud:

Code: [Select]
material preset_2_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_2mane.png
                        }
                }
        }
}