Author Topic: I needz help with preset  (Read 1169 times)

Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
I needz help with preset
« on: August 16, 2017, 05:28:48 pm »
This has never happened to me before, but i made a preset and the shading is just horrible once i play with it on. Like everything's ugly dark. My whites, dark grey and my browns are super dark. I asked in local and someone said something about a ambient file and I dont got one and I dont preset much. The files look prefect when i was making them on Gimp and look great in the preset maker so I really am confused.
Merrp

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: I needz help with preset
« Reply #1 on: August 16, 2017, 06:03:51 pm »
Moving this over to Game Help
You should send us in your preset's coding, as it sounds like it could be an ambience pass doing this. You can do that by placing the contents of your material file (by opening it up in Notepad, selecting it all and copy/paste) in between these two tags on the forums in as a reply:

[code]-Paste entire material code contents here-[/code]
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
Re: I needz help with preset
« Reply #2 on: August 16, 2017, 06:15:27 pm »
This is whats in it
Code: [Select]
-material preset_3_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_3body.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_3body2.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_headMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
                        ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3head.png
}
}
pass
{
                      {
                        emissive 1.0 0.0 0.0
scene_blend alpha_blend
                        texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_headMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
                        ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3head2.png
}
}
pass
{
                      {
                        emissive 1.0 0.0 0.0
scene_blend alpha_blend
                        texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_eyeMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_3eye.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_eyeMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_3eye2.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_3tail.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_maneMat
{
technique
{
pass
{
alpha_rejection greater_equal 128
                        ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3mane.png
}
}
pass
{
                      {
                        emissive 1.0 0.0 0.0
scene_blend alpha_blend
                        texture_unit
{
texture Nothing.png
}
}
}
}-
Merrp

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: I needz help with preset
« Reply #3 on: August 16, 2017, 06:23:56 pm »
Okay, try this. I removed all of the ambient passes:
Replace your current code with this one and save your material file
Code: [Select]
material preset_3_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3body.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_bodyMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3body2.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_headMatL
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3head.png
   }
  }
pass
  {
                      {
                        emissive 1.0 0.0 0.0
   scene_blend alpha_blend
                        texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_headMatR
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3head2.png
   }
  }
pass
  {
                      {
                        emissive 1.0 0.0 0.0
   scene_blend alpha_blend
                        texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_eyeMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3eye.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_eyeMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3eye2.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_tailMat
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3tail.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
material preset_3_maneMat
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3mane.png
   }
  }
pass
  {
                      {
                        emissive 1.0 0.0 0.0
   scene_blend alpha_blend
                        texture_unit
   {
    texture Nothing.png
   }
  }
 }
}
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
Re: I needz help with preset
« Reply #4 on: August 16, 2017, 06:27:36 pm »
It worked thank you! *Throws flower crown at*
Merrp

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: I needz help with preset
« Reply #5 on: August 16, 2017, 06:49:31 pm »
:DDD Thank you very much! -rolls in flowers-
Glad I could help~
I'll go ahead and lock this up
Profile pic by Edolicious

People don't think the universe be like it is, but it do.