Jump to content

Search the Community

Showing results for tags 'Shader'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 104 results

  1. Hello! Houdini beginner here. I've downloaded some character and animation model from mixamo.com, but I'm having trouble plugging in the texture maps to the principled shader. I currently have the diffuse map plugged into Base Color, specular map plugged into Reflectivity, and normal map into Base under Base&Normal tab. And I'm getting this weird result. How can I fix this? Thank you in advance for taking a look at it! -Y
  2. Hey guys How to do a light-shadow ramp to use within mat context as a mask? An example would be: lit areas do not emit light while areas in shadow emit light. Any hint appreciated.
  3. Hi all, Im exposing a few parameters on a shader within a material builder node. This are things such as spec roughness etc. For some reason they do not have any effect after having added a few. Any pointers?
  4. Anamorphic Lens Squeeze

    I know this is a bit of a bizarre request but I'm trying to simulate rendering in anamorphic squeezed, to later be unsqueezed in comp. I've set up my resolutions and pixel aspect ratio but as expected it just reframes the image and doesn't provide that squeezing effect you might get from something similar to Maya's lens squeeze parameter? Any advice on how to achieve this? Thanks!
  5. Hi, I try to offset a texture with a For Loop in a shader. In the example file you can see I iterate 5 times and offset the texture 0.1 units with each iteration. Is it possible to combine all of the iteration steps and show the result of that in the rendered image? Like in the attached picture where I painted in the desired result with red. kind regards Jon forLoop_VexBuilder.hip
  6. Hi, anyone knows if op: path like op:/obj/Sphere/cop2net1/OUT should work in Arnold shader? Arnold Voppnet > standard surface > "image" node to color cant get it to work. I also tried opfullpath(/obj/Sphere/cop2net1/OUT) B.
  7. Hi there! I'm having a little problem with one of my houdini scenes, I have a fractured building, I applied some different shaders to it (like glass, concrete) however when I place an assemble node, my shaders are gone, is there any work around this problem?
  8. Redshift Substance Shader

    I've made this to save time loading shaders from Substance Source, but should work for any substance material. Just select the parent folder of the texture you want. Figured some others might find it useful too. It has proper viewport handling of Base Colour, Roughness, Metallic, Normal, Emission and Displacement. Not 100% perfect, but pretty damn close. Hdalc for now. Tried to upload to orbolt but kept getting an error (Invalid node type name). Don't think it likes redshift nodes. If anyone has any experience with this let me know! MT_RSSubstance_1.0.hdalc
  9. OpenGL Tags for UV scale/offset

    Anyone know how to get uv tiling and offset to display in the viewport with opengl tags? I'm trying to build a shader asset to speed up my workflow. I've implemented the opengl tags to correctly display the diffuse, roughness, metallic and normals. However I just can't seem to get tiling and offsets to work. I apply the uv translate and uv scale tags (and set the uv layer number), but no effect.
  10. Hello! I'm working on a custom toon shader. As a basis I want to use the lambert lighting model as described in the tutorial embedded below. To test this I created a very simple scene with a sphere placed at the origin, a point light and a material with the material builder applied to the sphere (see image below). Now, here's the problem: The shading of the sphere is incorrect as soon as the point light has negative coordinates. It seems as if the surface_global's P and N are expressed in a different space compared to the point light's position. This happend with Mantra as well as Redshift (where I used the same setup as in the video below, apart from getting the light's position through a constant and channel references). Am I wrong to assume that P is the world position of the current point being shaded and N is it's normalised normal? Is this the wrong way to get the light position into the shader? I spent some time testing and searching on the internet but I couldn't find anything that clarified these quesitons sufficiently for me. custom_lambert.hipnc
  11. Hello, I have problem creating skin shader in Houdini using Arnold. As creating proper skin shader i need to have: Base color map - Dictates base color of skin Epidermal Color map - Outer layer of skin Subdermal map - Deepest layer of skin Mid scatter map - This is layer where i want to paint also veins Specular map primary- Dictates skin general specularity Specular map secondary - Dictates where are the oili areas in the face (As you may know skin is in some areas more oily then others) Displacement map Curvature map * AO map Note! i use UDIM-s Here is video i made where i try to also explain the issues i have.
  12. I have searched the web for an example on how to use the Rounded Edge VOP http://www.sidefx.com/docs/houdini/nodes/vop/roundededge.html [www.sidefx.com] But was unsuccessful. I have a 3D model which is very reflective and has sharp edges. It looks dark in the environment, because the edges are too “perfect”. I want the edges to be rounded just enough to catch light and reflections. Can any one provide a simple example on a cube? thanks
  13. this is my first post here, sorry if this has already been solved, i've got a speedtree alembic mesh with lots of leaves that don't have thickness, ive applied the principled shader and plugged an image for opacity and one for colour, but i want to add another one for translucency so that the sun light comes through the layers of leaves showing the veins and green-ness in the leaves, SSS would be the obvious answer but the leaves don't have thickness, and there's a lot of them (its a forest) is this possible with the principled shader? i know its relatively simple in MR, Arnold, redshift? thanks guys
  14. Hello im a student and pretty new to houdini working on a personal project can u please help me figure out how this effect has been made since im still learning & cant afford high end simulations i would be really grateful if someone could give me an in detail explanation of how to do this... its pretty urgent since i need to finish the project in the next 15 days.. Thank you guys in advance
  15. WetMap

    Hello, I have a project to do and on this project I have to apply a wet map they have given me a image of the wet map and they want it on there I really need help.
  16. Hi, probably very stupid question and basic, but can't figure it out by myself and internet... How to bring Material from "Material Palette" to a "Shop" ? I want to take "Principled Shader" and other shaders to Shop... Hope Its clear. Bretislav
  17. I'm trying to create a mist effect using volume raterized particles, getting some nice enough results but would like to add some shader noise for more detail as it's still a bit soft. Currently trying two methods; Dual rest, though I'm slightly confused as to how to set this up for particles and then use it in the shader, and ther other method - building a velocity volume from the particles and using the vel field to drive the noise position, but this also appears to be a chaotic mess when rendered. Can anyone give me some advice with this?mist_v01.hip ta
  18. Vertex Animation Shader Culls Geometry

    Hey everyone! I'm testing the Vertex Animation workflow which has been proved to be a great solution to our pipeline, but had run onto a somewhat relevant issue. Everything from exporting to setting up the material and textures has gone smoothly. The problem in here is that the camera culls the object if you are too close to it. I'm thinking that it may be related to the bounding box of sorts, but I haven't been able to figure out the problem. Here's an illustrative gif of what's going, As you can see the selection outline shows that the object is still active within the scene, but rather is no longer drawn. Anyone has come across with this? Any help would be much appreciated. Cheers!
  19. I want to be able to export custom attributes from inside my own copy of the classic shader. I also want to be able to feed inputs into my custom shader, at the Material Network level. However, there appears to be a conflict. When there are no inputs at the Network level, then the custom attribute is visible in the extra image plane in my mantra node. However, as soon as I connect anything to any input at the Material Network level, then the custom image plane becomes black/zero. Any ideas? I have documented the example hip file with post-it notes, from scene level all the way down to the shader level for navigation. thanks customShaderMaterialArbitraryExportBug.v01.hipnc
  20. Hello, This is not really a new topic, but I never found any convincing answer to it. Here is the scene : (i) a ground plane A which has a shadowmatte shader applied into it; (ii) a cube B that also has the same shadowmatte material applied to it and (iii) a volume having the form of a sphere C to which a billowysmoke material is applied (for fun, I could have taken a solid with a classic shader). I want B to cast shadows on C but not on A; I want simultaneously to have C to cast shadows on A. Said otherwise, I would like that all objects having the shadowmatte applied onto them cast and receive shadows onto / from objects having a different material, and avoid any "selfshadowing" ("self" being understood as objects having this same shader applied onto them) Therefore, saying B don't cast shadows don't work, neither saying A don't receive shadows. By the way, it seems that all masks options can't work in this situation, nor making groups. It seems to me that it would requires to change the code of the shader, so that when a ray hits a surface, it should "understand" what was the previous surface he was bouncing from and get its shader name, to know if ultimately it can be considered a shadow ray or not... Being quite weak in shading, I may express that very badly, but in short : does anyone knows any tricks to solve the problem above ? The only way I can get what I want is through having different passes / AOV with masks and solve that in comp. But a one shot solution would make gain some time :-) selfShadowingTest.hip
  21. Since new shading system matnetwork came out, do we a method to add AOVs without unlock a default shader, but can create it with combining a kind of layer-shader? If this is possible, it's so easy to add AOVs and no need to unlock shader could save file size, too. For instance, create a material builder and add AOVs like a particle RGB_mask in there, and create a sort of layer-combine shader, then connect the material builder shader and a principle shader into it, then output it to mantra.
  22. Interior Fluid Shader

    Hey wizards! I have a challenge I need help solving. I'm doing a flip sim where I have to mix two different fluids together, I.E. water and lets say molten aluminum. Clearly these two fluids need 2 different shaders, but when doing a sim you'd want one one mesh to keep everything clean without gaps or ips. I've already created a single shader driven by surface attributes to get the two different materials to work on the same mesh. There's only one massive, glaring issue with this method. You don't get any of your interior attributes back from your particles when using a mesh. The many solutions I've tried all fall short including using volume representations of the interior fluid, this is because a volume cannot receive lighting information that surfaces can I.E spec, refraction, SSS, etc. One idea that I haven't been able to fully explore, due to my lack of shading knowledge, is the way that ocean shaders use particle and volume data to create the deep ocean looks that Houdini is great at. So TLDR my question is: Is it possible to recreate a shader that works like the ocean shaders in that I can take volume and particle attributes to drive things like sss, spec, refraction, etc. using the principled shader. If so, if anyone has any basic leads or can point me in the right direction to get started that'd be huge. I really want to get this shader to look incredible so I can share it with the rest of the community down the road if anyone needed to tackle something similar. Have at it team!
  23. I'm trying to create a layered shader from two classic shaders. However, I noticed that the layered shader loses the point color and alpha information. Please refer to simplified example. The polygon sphere has varied point colors and Alpha. If you apply classicshader_A or classicshader_C, your see left side of the sphere is red, the right side is green, and the bottom is transparent. Which the material is inheriting from the point color and Alpha attributes. However, if you apply the layermix node, which combines the above classic shaders, you'll see the sphere changes to a solid pink, with solid alpha. How can I use the layer mix, while preserving point color and Alpha? What am I missing? thanks layeredShader.v01.hipnc
  24. shader help

    I am trying to figure out how to create a custom shader in vex for creating a glass shader with refraction for bending light. Additionally, i am trying to create a shader for lava that uses one shader when the temperate or speed is above a certain threshold. Like when it is flowing fast it uses the liquid lava shader and then switches over to the solid lava shader when the speed slows down. How can i achieve these shaders? I have been having some issues with creating these.
  25. Hi all, I'm confounded by a scenario and I'm hoping that someone else might have run across this. I have a light shader assigned to a Light Template object: let's call it myLight. It behaves as expected for non-motionblurred frames. But when I place it inside a subnetwork, put extreme motion in rotation and translation on the subnet, add a generic Light (spotlight) object to the subnet (at the same level as myLight), the generic light motionblurs properly but I get no motion blur my myLight's contribution. Here is the poignant code and information that I can tell: light myLight() { vector Plight = ptransform("space:light", Ps); Cl = max(0, 1-length(Plight*set(1,1,0))); } I am using Houdini 16.5 Mantra Raytrace mode. I am using exclusively xformational motion blur, 2 motion samples. I have the above light shader assigned to a Light Template object: myLight. myLight and a generic Houdini spotlight live in a subnet that has extreme translation and rotation animation. It behaves as expected for non-motionblurred frames, with and without rotational and translational transformations. It looks exactly the same with motionblur turned on, but the light from generic Houdini spotlight motionblurs properly in the same render. The vector version of the transformation, vtransform("space:light", -L); Seems to respect the translation component of the motion blur. BUT NOT the rotation component. So generally, myLight WILL motionblur, but not consistently in the right direction/magnitude. Weird. I have tried using the explicit path of the Light Template and to its containing subnet to see if I could jigger it. And the results are exactly the same: vector Plight = ptransform("/obj/mySubnet/myLight", Ps); vector Plight = ptransform("/obj/mySubnet", Ps); So I am wondering if I'm using the right transformation, the right variables, and if I am to add any special rendering intrinsics to the Light Template object to get the "space:light" transformation to respect the motion blur properly. What am I doing wrong?
×