Jump to content

Problem with Iceberg shading


CSN0309

Recommended Posts

Hey, guys

Looks like it's not a easy task to make a "real" iceberg. i made a shader in Shop network, but i can't get the effect right not-matter how i adjust the parameters inside my shader... :(

i have applied SSS shader to the geometry,,but, as you can see, it's not right... has anyone have suggestion or tips on this effect? Thanks in advance....

ice_1.hipnc

Link to comment
Share on other sites

From looking at your reference image, one thought comes to mind that might help. The iceberg has drastically different surface characteristics on the top sides as opposed to the parts closest to the water. More diffuse, and less translucent.

To get the top-most parts of your geoemtry you can compare the y component of your surface normal. If it's 1, then it's pointing up and anything inbetween 1-0 will creep down the side of your surface. This is far from perfect, but you should be able to pull a decent mask for the different areas and layer them together.

Alternatively, it might be feasable to assume any areas directly hit by your light will be more diffuse and covered with snow. The areas falling off in shadow being more translucent.

Just some food for thought.

Good Luck

Link to comment
Share on other sites

Thanks Macha and Alanw "try another solution" yes, i think i should turn my attention to this, because i will have larger number of iceberg in my scene. if i apply SSS to my entire scene, i will get very slow rendering for sure...

Thanks again,

Link to comment
Share on other sites

Thanks~guys

but,how can i get this "color map" into SHOP, so that i can change the diffuse and reflection based on this color map?

I have used "get Attribute" node inside SHOP, but it's doesn't work....555~ i know it's shouldn't very hard,,but i just don't know how... Thanks in advance

post-4466-129261650273_thumb.jpg

Link to comment
Share on other sites

Thanks~guys

but,how can i get this "color map" into SHOP, so that i can change the diffuse and reflection based on this color map?

I have used "get Attribute" node inside SHOP, but it's doesn't work....555~ i know it's shouldn't very hard,,but i just don't know how... Thanks in advance

post-4466-129261650273_thumb.jpg

try the (new for h11) 'surface color' vop

Link to comment
Share on other sites

but,how can i get this "color map" into SHOP, so that i can change the diffuse and reflection based on this color map?

If a parameter by the same name exists it will automatically be overridden by your attribute. Otherwise use a parameter shop to get it. It is very convenient and beautiful.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...