Feral Heart

Help & Guidance => Game Help => Topic started by: NaomiOkami on October 15, 2016, 03:43:31 am

Title: .
Post by: NaomiOkami on October 15, 2016, 03:43:31 am
.
Title: Re: Preset
Post by: Morgra on October 15, 2016, 03:49:48 am
Having difficult seeing it  on this picture. Might be that I need to put on my glasses too.
Mind describing what you meant by weird circles?
Is your preset partially transparent?
Title: Re: Preset
Post by: Ruby1234 on October 15, 2016, 03:51:50 am
Try removing the cull_hardware & cull_software lines.
Title: Re: Preset
Post by: Shazadah on October 15, 2016, 03:52:20 am
Can you show us your preset's material code?
Title: .
Post by: NaomiOkami on October 15, 2016, 04:01:28 am
.
Title: Re: Preset
Post by: Shazadah on October 15, 2016, 04:34:01 am
Try this code floof.

Code: [Select]
material preset_8_bodyMatL
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8body.png
}
}
}
}
material preset_8_bodyMatR
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8body.png
}
}
}
}
material preset_8_headMatL
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8head.png
}
}
}
}
material preset_8_headMatR
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8head.png
}
}
}
}
material preset_8_eyeMatL
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8eye.png
}
}
}
}
material preset_8_eyeMatR
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8eye.png
}
}
}
}
material preset_8_tailMat
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8tail.png
}
}
}
}
material preset_8_maneMat
{
        technique
        {
                pass
                { 
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_8mane.png
                        }
                }
        }
}
material preset_8_equipMatL
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8equip.png
}
}
}
}
material preset_8_equipMatR
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8equip.png
}
}
}
}
Title: .
Post by: NaomiOkami on October 15, 2016, 02:48:20 pm
.
Title: Re: Preset
Post by: Kuri on October 15, 2016, 08:33:11 pm
i put "scene_blend add" as the first line.  Then the whole "cull hardware" stuff and it turned out ok.  And wound the ambient down to like 0.5 with 1 alpha, no circles appeared for me.
Title: Re: Preset
Post by: Shazadah on October 15, 2016, 10:36:07 pm
Try removing that ambient line there, it's not needed, my bad. But the alpha_rejection greater_equal 128 is the code I use for transparency and semi-transparency which works just as good. Sometimes it can be a little hard to see with darker colors but, there are other methods.

The scene_blend_alpha blend line you had before does work for semi-transparency, but there's other lines needed that your original code didn't have. I'm on mobile right now so I can't copy the code to you, but try looking here (http://www.feral-heart.com/smf/index.php?topic=26062.msg467116#msg467116).