Author Topic: I'm having problems with my preset.  (Read 2339 times)

Offline OceanWaves

  • Familiar Grounds Dweller
  • **
  • Posts: 66
  • Country: us
  • Floof-O-Meter: 0
  • Avatar by me!
    • View Profile
I'm having problems with my preset.
« on: October 04, 2017, 07:47:09 pm »
I'm making a skeleton like preset and I don't want the teeth to show up. So I colored in a the square for the eyes and made the rest of the image transparent. I exported it as preset_8.png then wrote 'alpha_rejection greater_equal 128' in the code for both eyeMatR and eyeMatL. But when I loaded it in preset maker it showed up as if there wasn't a file for the eyes and I did export the file into the presets file.
Panic! at the Disco trash #1

Offline OceanWaves

  • Familiar Grounds Dweller
  • **
  • Posts: 66
  • Country: us
  • Floof-O-Meter: 0
  • Avatar by me!
    • View Profile
Re: I'm having problems with my preset.
« Reply #1 on: October 04, 2017, 08:54:10 pm »
Code: [Select]
The code looks like this btw
[code]material preset_8_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_8scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture preset_8body.png
}
}
}
}
material preset_8_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_8scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture preset_8body.png
}
}
}
}
material preset_8_headMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_8head.png
}
}
}
}
material preset_8_headMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_8head.png
}
}
}
}
material preset_8_eyeMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_8eye.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material preset_8_eyeMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_8eye.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material preset_8_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_8tail.jpg
}
}
}
}
material preset_8_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_8mane.png
}
}
}
}[code]
Also don't worry about the mane code being the unfixed one because this character doesn't have a mane.
« Last Edit: October 04, 2017, 08:58:14 pm by ButterPUP »
Panic! at the Disco trash #1

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: I'm having problems with my preset.
« Reply #2 on: October 04, 2017, 09:02:05 pm »
Have you tried removing all the specular and diffuse effects from it first?
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Offline OceanWaves

  • Familiar Grounds Dweller
  • **
  • Posts: 66
  • Country: us
  • Floof-O-Meter: 0
  • Avatar by me!
    • View Profile
Re: I'm having problems with my preset.
« Reply #3 on: October 04, 2017, 09:09:04 pm »
Have you tried removing all the specular and diffuse effects from it first?
I just tried and it sadly did not work. I appreciate your suggestion though.
Panic! at the Disco trash #1

Offline OceanWaves

  • Familiar Grounds Dweller
  • **
  • Posts: 66
  • Country: us
  • Floof-O-Meter: 0
  • Avatar by me!
    • View Profile
Re: I'm having problems with my preset.
« Reply #4 on: October 04, 2017, 09:17:15 pm »
Okay, wow, the problem was actually me forgetting to put and 8 in the images name when I exported it. :P Derp
Panic! at the Disco trash #1

Offline Kerriki

  • Band Geek
  • Immortal Legend
  • *****
  • Posts: 5,670
  • Country: us
  • Floof-O-Meter: 371
  • Who needs furniture when you have the floor?
    • Kikiorylandia
    • View Profile
    • DeviantART
Re: I'm having problems with my preset.
« Reply #5 on: October 05, 2017, 01:38:41 am »
I'll be locking this up now since the issue seems to be resolved
Farewell everyone<3