It is currently 24 Apr 2014, 18:08

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Problem with Opacity Map on Particles
PostPosted: 14 Jan 2011, 09:54 
Offline

Joined: 09 Jan 2011, 05:37
Posts: 9
I'm applying a simple white/black opacity map onto the shader of some rectangular shaped particles, using ice... but for some reason roughly half of the particles are not opaque like they should be, while the other half renders fine... I'm assuming this has to do with which side of the particle is facing the camera, but if so I can't figure out how to render correctly.
The only way I can get it to work is if I use a constant shader, which I would really prefer not to use as I need some specular, so any help on how to use opacity maps with particles on standard blinn/phong ect.. shaders would be much appreciated. ^:)^

_________________
How many malicious people, as unending as space, can I kill?
When the mind-state of anger is slain, then all enemies are slain.

-Shantideva


Top
 Profile  
 
 Post subject: Re: Problem with Opacity Map on Particles
PostPosted: 14 Jan 2011, 14:55 
Offline
Administrator
User avatar

Joined: 04 Jun 2009, 12:15
Posts: 3854
Sorry for the probably painfully obvious question,
but where does your opacity map come into play?
In the ICE Tree or in the Render Tree?
And are you trying to use the map per particle or per cloud? :-\


Top
 Profile  
 
 Post subject: Re: Problem with Opacity Map on Particles
PostPosted: 14 Jan 2011, 21:10 
Offline

Joined: 09 Jan 2011, 05:37
Posts: 9
lol np, not so obvious here.
I've applied the opacity in the render tree onto the particle cloud.
I've been keeping it as simple as possible for now, a default blinn shader, with an opacity map plugged into its transparency slot.

_________________
How many malicious people, as unending as space, can I kill?
When the mind-state of anger is slain, then all enemies are slain.

-Shantideva


Top
 Profile  
 
 Post subject: Re: Problem with Opacity Map on Particles
PostPosted: 14 Jan 2011, 23:25 
Offline
User avatar

Joined: 09 Jun 2009, 11:59
Posts: 619
Location: warsaw
its working here. can you post a scene?

_________________
http://vimeo.com/origin/videos


Top
 Profile  
 
 Post subject: Re: Problem with Opacity Map on Particles
PostPosted: 15 Jan 2011, 00:02 
Offline

Joined: 09 Jan 2011, 05:37
Posts: 9
Sure here are a few quick renders:

Phong Shader.. maybe not the best frame to capture, but some render fine, and some as you see here show the full rectangle.
Image

Constant Shader (Which works right but I don't want constant)
Image

_________________
How many malicious people, as unending as space, can I kill?
When the mind-state of anger is slain, then all enemies are slain.

-Shantideva


Top
 Profile  
 
 Post subject: Re: Problem with Opacity Map on Particles
PostPosted: 15 Jan 2011, 01:18 
Offline
User avatar

Joined: 09 Jun 2009, 11:59
Posts: 619
Location: warsaw
This 'rectangle' is probably specular reflection. You must mask out specular as well. Or use arch shader with cut_off - It could be faster than phong/blinn.

_________________
http://vimeo.com/origin/videos


Top
 Profile  
 
 Post subject: Re: Problem with Opacity Map on Particles
PostPosted: 15 Jan 2011, 05:21 
Offline

Joined: 09 Jan 2011, 05:37
Posts: 9
I tried disabling specular on the shader awhile back... and it still would not render correctly, so assumed it must be something else. But I just tried plugging my opacity map into the specular channel as well, and it renders fine now!
Thanks for that. *-:)

_________________
How many malicious people, as unending as space, can I kill?
When the mind-state of anger is slain, then all enemies are slain.

-Shantideva


Top
 Profile  
 
 Post subject: Re: Problem with Opacity Map on Particles
PostPosted: 13 Feb 2011, 07:16 
Offline
Moderator

Joined: 26 Oct 2009, 11:04
Posts: 169
The arch shader cut_off feature as origin mentions, or using the Sprite shader is a much simpler and predictable approach. You should lean towards one of those in the future.

_________________
- Zafar Iqbal


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group