Page 1 of 2

Alpha maps

Posted: Mon Apr 05, 2010 9:46 am
by mib2berlin
I'll open a new thread about alpha maps. I don't fill up other threads with general questions.
First, i can't get it to work. What i now/have, alpha maps don't work with sunlight and I'll should put a floatimage
in the opacity slot.
These are my diffuse and alpha maps:

Any help is welcome, mib

Re: Alpha maps

Posted: Mon Apr 05, 2010 10:06 am
by radiance
Hi,

I don't understand your question.
just make a material, stick the diffuse map on the diffuse slot as a 'image texture' and stick the opacity map in the opacity slot as a 'floatimage'. use invert option if needed to switch the white/black for the opacity.

it should work just like that.

Radiance

Re: Alpha maps

Posted: Mon Apr 05, 2010 10:17 am
by pedrofelipe
yes, that is true.. I've just tried

Sun doesn't cast shadow based on alpha but that was reported 15 min after beta2 was released! :) So other than that you should check your system!

Re: Alpha maps

Posted: Mon Apr 05, 2010 10:21 am
by mib2berlin
This is what i do the last hours :) , but don't work for me.
Did somebody get it to work with linux?

Thanks for helping, mib

Re: Alpha maps

Posted: Mon Apr 05, 2010 10:25 am
by pedrofelipe
oh linux.... can't help with that! But one thing I notice... if you want to 'clip' the geometry thru alpha you need to put the power in 1.0 instead of the default 0.9. That was giving me strange results with the default value (ie little transparent all over the leaf)

Re: Alpha maps

Posted: Mon Apr 05, 2010 10:32 am
by mib2berlin
Thanks, I screw on all possible faders but the plane goes only more or less visible.

May it is a OS problem, mib

Re: Alpha maps

Posted: Mon Apr 05, 2010 11:03 am
by radiance
have you tried using an 'image' node instead of a 'floatimage' ?
although it's not recommended as it uses more video memory, would be handy just to check it.

Radiance

Re: Alpha maps

Posted: Mon Apr 05, 2010 12:15 pm
by mib2berlin
Yes, I tried "Image" also, don't work.

Cheers mib

Re: Alpha maps

Posted: Mon Apr 05, 2010 12:57 pm
by radiance
i will give it a go on linux here to see if it's linux version related.
any other linux users can confirm this ?

Radiance

Re: Alpha maps

Posted: Tue Apr 06, 2010 10:13 pm
by pedrojafet
What am I doing wrong?
The leafs are cuted with alpha, but they create a non masked shadow... :|

PS: I was trying to upload an image, but I think the server is too busy... I'll try later.