HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 How to do Fluffy mane (material)

Go down 
AuthorMessage
DarkHeta

avatar

Game username : DarkHeta
Server : Eternal Time
Female Posts : 62
Join date : 2016-01-18
Age : 17
Location : Russia

PostSubject: How to do Fluffy mane (material)   Mon Sep 26, 2016 3:58 pm

How to do apha material for mane in character editor?

I mean... Apply .PNG hair texture with colorless parts, for example this:



And to get around this result:



I gess you understand, what I mean ._."

And Thank you!)
Back to top Go down
https://vk.com/eternaltimenewserver
BeanMews

avatar

Game username : BeanMews
Female Posts : 74
Join date : 2016-09-24
Age : 20
Location : New York

PostSubject: Re: How to do Fluffy mane (material)   Mon Sep 26, 2016 4:40 pm

Transparency is the word you're looking for I believe!
- if I get to my computer in time (before someone else answers) I'll come back and answer the question! -
Back to top Go down
BeanMews

avatar

Game username : BeanMews
Female Posts : 74
Join date : 2016-09-24
Age : 20
Location : New York

PostSubject: Re: How to do Fluffy mane (material)   Mon Sep 26, 2016 10:36 pm

-- excuse my double post --

ObeyTheFist wrote:
To achieve semi-transparency in-game then you also need the right scripting in your material file near your lighting for ambient, emissive etc. For basic semi-transparency you need:

scene_blend alpha_blend

DO NOT add alpha_rejection or you will get full transparency and your texture will be virtually worthless.

I believe adding it above "texure_unit" will get it to work properly c:
Back to top Go down
DarkHeta

avatar

Game username : DarkHeta
Server : Eternal Time
Female Posts : 62
Join date : 2016-01-18
Age : 17
Location : Russia

PostSubject: Re: How to do Fluffy mane (material)   Mon Sep 26, 2016 11:43 pm

Emmaelou wrote:
-- excuse my double post --

ObeyTheFist wrote:
To achieve semi-transparency in-game then you also need the right scripting in your material file near your lighting for ambient, emissive etc. For basic semi-transparency you need:

scene_blend alpha_blend

DO NOT add alpha_rejection or you will get full transparency and your texture will be virtually worthless.

I believe adding it above "texure_unit" will get it to work properly c:


it didn't actually work. Maby on presets, but not on simple playble character. I hate MagicsMod xD

But, anyway thanks!)
Back to top Go down
https://vk.com/eternaltimenewserver
Hamilton

avatar

Game username : Hamilton
Server : Myatar Legends // Dragon's Den
Female Posts : 395
Join date : 2011-10-20
Age : 32
Location : everywhere

PostSubject: Re: How to do Fluffy mane (material)   Tue Sep 27, 2016 1:36 am

You will need to change your MagixPS.cg file in the programs folder. At the moment, you mane PS looks something like this:

Quote :
void mane_tex_mod(
float2 uv : TEXCOORD0,

out float4 color : COLOR,

uniform float4 colorMod1)
{
float3 textureValue1 = colorMod1.rgb;

color = float4(textureValue1,1);
}

It allows for color, and not much else. There is no alpha setting in here at all.

You'll want to change it to something closer to perhaps this:

Quote :
void mane_tex_mod(
float2 uv : TEXCOORD0,
out float4 color : COLOR,
uniform float4 colorMod1,
uniform sampler2D alpha1 : register(s0))
{
color = float4(colorMod1.rgb,tex2D(alpha1, uv).a);
}

This would allow for the MagixMod files to utilize the alpha channels. (or should, anyways. I didn't bother with testing this and it may need some more modification)

Combine it with the scene_blend alpha_blend setting and it should come up with something at least. lol
Back to top Go down
DarkHeta

avatar

Game username : DarkHeta
Server : Eternal Time
Female Posts : 62
Join date : 2016-01-18
Age : 17
Location : Russia

PostSubject: Re: How to do Fluffy mane (material)   Tue Sep 27, 2016 2:41 pm

Aaaaah Yeeeees

Back to top Go down
https://vk.com/eternaltimenewserver
Sponsored content




PostSubject: Re: How to do Fluffy mane (material)   

Back to top Go down
 
How to do Fluffy mane (material)
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: