-
Haii!
I managed to make a preset with scrolling mane, but no matter what I change or try to fix, it always looks like this:
(http://i.imgur.com/bz2vrwY.png)
Any ideas how I can fix those flat..layers?! in the mane? x3
The Coding:
material preset_8_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_8mane.png
scroll_anim 0.03 0.03
}
}
}
}
-
Try this coding floof and see if it helps c;
Just change it to where it matches your preset c:
material preset_1_maneMat
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_1mane (this is the all black mane mask).png
}
texture_unit
{
texture preset_1mane (this is the all black mane mask).png
colour_op alpha_blend
}
texture_unit
{
texture SCROLLING TEXTURE.jpg
colour_op_ex blend_current_alpha src_texture src_current
tex_address_mode wrap
filtering trilinear
scroll_anim 0.0 0.1
}
}
}
}
-
I'm 'fraid what y'er looking at can't be fixed. What y'er seeing there are what normally look like spikes in the mane. Since y'er using a scrolling texture, and these use transparency to work, it shows the full block instead of a spike-which is created by a normal .png texture with no scrolling coding added.
Sorry to say, ye can't do anything to change that. >v< G'luck with the preset, though! 'Tis looking really good so far. Mane looks fantabulous.
-
Hakumi you're a Genius! xD Thanks it's working! *o*
And thank you Enoki as well c:
-
Glad that it's working ^^;
Have Fun ~!
-
Just gonna add on right quick, most people use a solid black or white layer for their mask, which usually ends up with white or black being able to be seen around the edges, since the rendering for transparency isn't flawless.
The best I've been able to combat this, is instead of using a white/black mask, just use the texture that you were already going to be using. For example:
(https://i.gyazo.com/9edd453bc2dc8cf7b5336fe60bd93019.png)
The results are noticeably different!
(White masking on the head, this technique on the mane.)
(https://i.gyazo.com/1b65990a31148f266f2c04daa2caf7f2.gif)
Anyway, happy presetting!
-
Thanks a lot for that tip! :3 Will do that
-
I'll lock this thread up for you, seeing as your question has been answered. Your preset looks lovely so far, and good luck with it! c: