Feral Heart
Help & Guidance => Game Help => Topic started by: Siberius101 on March 18, 2014, 11:14:43 pm
-
Lol wow long time, no post. ^^'
Anyway, I've been working on a rather complicated preset of mine to challenge myself and the one thing that is holding it back from being completed is my preset's mane.
I wanna know is it possible to make a moving/scrolling mane texture without it being blocky and weird in a particular spot? I know that the manes are suppose to be saved as .png but when I load up FH, the texture is moving but the lower transparent part of the mane texture still shows it white and weirdly shaped when it should be transparent.
If you need me to be more specific, I'll post an example of what I mean. Also, if you know the correct coding or way to do it, it would be most helpful. ^^
-
I'm not sure if this will be any help to you, but I used to have a moving mane on one of my presets. Here's the code I used:
{
technique
{
pass
{
lighting off
scene_blend colour_blend
depth_write off
cull_hardware none
cull_software none
texture_unit
{
texture Transparent.png
tex_address_mode wrap
filtering trilinear
}
texture_unit
{
texture preset_#mane.png
scroll_anim 1 1
tex_address_mode wrap
rotate_anim -0.01
wave_xform scale_x sine 3 0.1 0 3
wave_xform scale_y sine 3 0.1 0 3
colour_op alpha_blend
}
texture_unit
{
texture Transparent.png
colour_op_ex blend_current_alpha src_texture src_current
}
}
}
}
Hope this helps in some way...
-
It didn't quite fix it but on the plus side, that code actually gave me an awesome effect I'm actually gonna experiment with. So thanks for that~