Search the Community
Showing results for tags 'layer'.
Found 3 results
Hi guys, I've been trying to layer 2 normal maps inside one shader and I can't quite figure out what is the right way of blending them. I tried mixing them, adding them, multiplying and subtracting the difference but I can't get them to look correct. As a reference I combined the 2 normal maps in Photoshop by overlaying the red and green channels and multiplying the blue one and I still couldn't get it to match in Mantra. In my file you can see that I have the displacement texture nodes and I'm plugging them into the baseN, and then you can compare it with the displacement texture that is already loading the layered normal from Photoshop. The only way I found of doing this in Houdini is going inside the displacement texture node and doing the same I did with Photoshop combining the RGB channels right before they go into the Displacement node and the normals are calculated. The problem is that it's not a very elegant solution, and I also have the problem that I can't do this with a bump and a normal, so I'm trying to figure out how I can layer the normals themselves, not the textures with the color data. How can I blend 2 normal maps together, or 1 normal map and a bump map? Is there any way of doing this manipulating the normals or will I always have to resort to blending the RGB channels and then getting the value of the normals? Here are the renders showing the difference between the layered normals in Photoshop and the one where I add the normals together: Here is the file with the textures. layerNormalMaps.zip Cheers and happy new year!
Hi Guys , I would be curious to know if some of you would be interested to help me work on an Open Source Mantra Shader. There are actually some very cool PBR shaders right now like those one : http://forums.odforce.net/topic/18353-pbr-all-purpose-layered-shader/?hl=danylyon http://forums.odforce.net/topic/20682-bsdf-bonanza-ggx-microfacets-disney-brdf-and-more/ http://forums.odforce.net/topic/21673-physhader/ The problem is that the first 2 are not accessible in VOP , you can't modify them yourself and thus you are not 100% free. The last one is also very cool and will help me a lot to understand VEX more in depth. But i would like to work on a modular shading tool. base on a core BSDF that you would then layer to build complex material. Most shader are more UBER shader like the V-Ray MTL / Arnold Standard / MR MIA / Mantra Shader. But i would like to have something closer from what you have in Maxwell or Octane. Where you combine BSDF. I'm quite bad in complex math, but i guess by combining some brain power here on od force we could achieve something cool. So i would have some questions before starting to work. Q1 - what would be the most powerfull environment to develop a cool mantra shader ? - Material shader builder context inside houdini - CVEX shader builder context - external compile VEX code - external compile CVEX code Q2 - what would be the most elegant organisation to keep thing easy to read / maintain ? - full VOP node organisation - full VEX code organisation - a mix of VOP and VEX with inline code Q3 - what are the requirements if we want to be able to make it work in Reyes/Raytrace/PBR ? - does CVEX shaders work in all mode ? - how to emulate the compute lighting node in CVEX ? For the moment i was thinking to start to work with those : - Material Shader Builder Context - mix of VOP for utilities and Inline Code for core shading functions - VEX I would be glad to have as much advise and pov on the subject ! Cheers E