hey i'm working on a fluid particle simulation where i need the fluid to be coloured red or orange like an Ink.. i.e a bit transparent and yet retaining the colour and water type look….right now i have a normal “Basic Liquid” shader on it, which i guess, is over-riding the colour info, this is making it look worse that some sort of clay(..my renders are not showing any transparency in the material)
Any help will be greatly appreciated..
thanks
Shaders for Coloured Water or liquid
13067 6 3- bhaveshpandey
- Member
- 127 posts
- Joined: 11月 2008
- Offline
- bhaveshpandey
- Member
- 127 posts
- Joined: 11月 2008
- Offline
hey here's a test file….i have left a BASIC LIQUID shader in the Shop
What I have Done:
i have just added a color node to the particle node and promoted it up to the Particle Fluid Surfacer..
What I want:
i want to make this look like a coloured liquid..
I tried my way thorugh it and was a bit successful..i just multiplied the color i wanted in the BASIC LIQUID shader network..
the issue is that if i have another set of particle fluid and i wished to mix their colors, using the above method will be a pain..
I want the shader to consider the Cd attribute on the Particle Surface while rendering..
any help would be great
cheers
What I have Done:
i have just added a color node to the particle node and promoted it up to the Particle Fluid Surfacer..
What I want:
i want to make this look like a coloured liquid..
I tried my way thorugh it and was a bit successful..i just multiplied the color i wanted in the BASIC LIQUID shader network..
the issue is that if i have another set of particle fluid and i wished to mix their colors, using the above method will be a pain..
I want the shader to consider the Cd attribute on the Particle Surface while rendering..
any help would be great
cheers
- Allegro
- Member
- 696 posts
- Joined: 3月 2006
- Offline
- bhaveshpandey
- Member
- 127 posts
- Joined: 11月 2008
- Offline
- Allegro
- Member
- 696 posts
- Joined: 3月 2006
- Offline
Any parameter that exists inside a material can be automatically overwritten by a point attribute with the same name. Cd tends to be the standard for color, but in the case of the liquid shader, we want to use attenuation instead of diffuse.
I also turned up the attenuation amount on the material to something like 5 I think.
I also turned up the attenuation amount on the material to something like 5 I think.
Stephen Tucker
VFXTD
VFXTD
- craiglhoffman
- Member
- 252 posts
- Joined: 7月 2005
- Offline
- yanioaioan
- Member
- 31 posts
- Joined: 12月 2011
- Offline
-
- Quick Links