Feral Heart

Help & Guidance => Game Help => Topic started by: rhinobeetlez on June 01, 2017, 08:00:00 pm

Title: preset glitch?
Post by: rhinobeetlez on June 01, 2017, 08:00:00 pm
ok i have no idea why my game is doing any of these glitches but im just trying to make a preset and this happens?

(http://i1070.photobucket.com/albums/u481/tskmocha/j_zpsra170m6d.png) (http://s1070.photobucket.com/user/tskmocha/media/j_zpsra170m6d.png.html)

i dont know if its the texture or the coding??
ive remade the body twice and took away the texture, but the pink thing wouldnt go away
Title: Re: preset glitch?
Post by: Kuri on June 01, 2017, 08:37:08 pm
Was it a compressed .png? i find weird colors happens with compressed ones.
Title: Re: preset glitch?
Post by: rhinobeetlez on June 01, 2017, 08:46:59 pm
Was it a compressed .png? i find weird colors happens with compressed ones.

no its just a regular jpg :/
Title: Re: preset glitch?
Post by: Kerriki on June 01, 2017, 09:11:29 pm
.jpg can be a little crazy with colors sometimes. Try changing the file to a .png and see if that helps (be sure to change it in the coding/notepad file, as well!)
Title: Re: preset glitch?
Post by: rhinobeetlez on June 01, 2017, 09:15:26 pm
.jpg can be a little crazy with colors sometimes. Try changing the file to a .png and see if that helps (be sure to change it in the coding/notepad file, as well!)

that didnt work either, still doing the colour thing, thank you though!
Title: Re: preset glitch?
Post by: Kerriki on June 01, 2017, 09:17:42 pm
Is there any fancy coding in your notepad file (possibly left over from old presets)? Sometimes coding for special shading etc can cause coloring issues

Try changing your rendering system as well
Title: Re: preset glitch?
Post by: rhinobeetlez on June 01, 2017, 09:22:03 pm
the only fancy coding is the transparent tail, which isn't having any problems and i think that openGL is the only rendering system for my download? i just looked and thats the only one i saw so i have no idea
Title: Re: preset glitch?
Post by: Kerriki on June 01, 2017, 09:24:21 pm
Go into options > video > scroll until you see it. Select the one you're not using and restart FH
Title: Re: preset glitch?
Post by: rhinobeetlez on June 01, 2017, 09:28:38 pm
still isnt working :/
Title: Re: preset glitch?
Post by: Kuri on June 01, 2017, 09:31:41 pm
Have you tried swapping out the texture to see if that renders with the same colour stripe?
Title: Re: preset glitch?
Post by: rhinobeetlez on June 01, 2017, 09:33:09 pm
Have you tried swapping out the texture to see if that renders with the same colour stripe?
yeah, ive tried it with a different texture and no texture entirely, ive redone now three times and even swapped the files from 6 to 3 and it still wont work
Title: Re: preset glitch?
Post by: Kuri on June 01, 2017, 09:40:41 pm
So it had the colour stripe when you had another texture on there?  Makes me wonder if it's the way the scene is rendering.  What's it like it you export it and take it outside into various lighting conditions?
Title: Re: preset glitch?
Post by: rhinobeetlez on June 01, 2017, 09:47:25 pm
its the same just darker, i guess
it looks like its supposed to be there like its on the colour layer
Title: Re: preset glitch?
Post by: Tigg on June 01, 2017, 09:56:09 pm
That seems like a PC prob.
Because this is no glitch in teh preset, its somthing in the rendering.
Mind posting your preset code?
Title: Re: preset glitch?
Post by: rhinobeetlez on June 01, 2017, 09:58:51 pm
Are you running it in OpenGL or Direct3D?
Because this is no glitch in teh preset, its somthing in the rendering.
Mind posting your preset code?

at first i was running on openGL, and then i turned it to direct, neither of which fixed it

heres the code vvv

material preset_3_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3body.png
         }
      }
   }
}
material preset_3_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3body.png
         }
      }
   }
}
material preset_3_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3head.jpg
         }
      }
   }
}
material preset_3_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3head.jpg
         }
      }
   }
}
material preset_3_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
material preset_3_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
material preset_3_tailMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_3tail.png

         }
      }
   }
}
material preset_3_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_3mane.png
         }
      }
   }
}
Title: Re: preset glitch?
Post by: Tigg on June 01, 2017, 10:32:13 pm
Okay,

the code is all fine, its not your fault. Others will probably see your preset just fine.
Title: Re: preset glitch?
Post by: rhinobeetlez on June 01, 2017, 11:30:39 pm
ah, whelp, ill test it out and see if its all ok, thanks for your help! <3