Feral Heart
Help & Guidance => Game Help => Topic started by: NaomiOkami on October 15, 2016, 03:43:31 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?
-
Try removing the cull_hardware & cull_software lines.
-
Can you show us your preset's material code?
-
.
-
Try this code floof.
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
}
}
}
}
-
.
-
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.
-
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).