Guest Swann Posted February 14, 2010 Share Posted February 14, 2010 (edited) Hello masters, I want to make translucent material for this ticket. If you light it from behind you should see black pass and hologram blocking light and causing more color darkening in areas where they are and when light is in front you should see normal texture without any bleeding from behind. The same goes for back face when you light ticked from front. Problem is that I don't know how to pick when it should block light when it's on back and when it's on front and leave normal texture on light side ? Below you can find HIP file with scene I use now and textures. Thanks in advance EDIT: Or maybe somebody have example of translucent material that uses different textures on both sides that I can look ? Bilet.rar Edited February 14, 2010 by SWANN Quote Link to comment Share on other sites More sharing options...
Guest Swann Posted February 15, 2010 Share Posted February 15, 2010 OK. I'v made photoshop simulation what I want to achieve. As you can see when light is on front on back you see front texture shining through but the place where is hologram and black pass are not influenced. While light is on back and you look on front you see hologram and black pass causing more color darkering where they are on fornt texture. How to make this effect ? Quote Link to comment Share on other sites More sharing options...
anim Posted February 15, 2010 Share Posted February 15, 2010 something like this? (i have used the same texture as a mask instead of mask textures, because it looks more naturally) Ticket_transl.hipnc Quote Link to comment Share on other sites More sharing options...
Guest Swann Posted February 15, 2010 Share Posted February 15, 2010 (edited) Hey anim, thanks for interest. Well, when two light are on it's almost OK. Try it with one light (let say backLight) and render back. What you will see is no sine of back texture only front texture going through. Attached picture shows this scenario (left) vs front and back lights ON(right). Edited February 15, 2010 by SWANN Quote Link to comment Share on other sites More sharing options...
anim Posted February 15, 2010 Share Posted February 15, 2010 ok, maybe this time Ticket_transl2.hipnc Quote Link to comment Share on other sites More sharing options...
Guest Swann Posted February 16, 2010 Share Posted February 16, 2010 Nope, still when there is only one light ON you get one texture on both sides. It works when 2 lights are ON but not with one. Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted February 16, 2010 Share Posted February 16, 2010 Maybe something like this? Ticket_mgm.hipnc I discarded your "front mask" layer because whether I interpret it as "opacity" or "translucency" it doesn't result in the images you posted as your "intended result". Instead, the shader interprets your "back mask" as a translucency mask for both sides, which seems to be the interpretation you're going for. If that's not the case, then change the indexing of the map array. Have a look at the shader (VEX) for other comments. Also look at the ROPs for all the AOV layers. HTH, Cheers. Quote Link to comment Share on other sites More sharing options...
Guest Swann Posted February 16, 2010 Share Posted February 16, 2010 Maybe something like this? Mr. Mario, I haven't yet looked at your file but I got strange feeling that night of miracles just started for me . Thank you. Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted February 16, 2010 Share Posted February 16, 2010 Woops... small bug with the normal used for illumination (would give wrong results in some situations). Try this one instead: Ticket_mgm2.hipnc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.