People who code: we want your input. Take the Survey

Questions tagged [shaders]

A shader is a computer program that is used to do shading, texturing, special effects or post-processing. Shader nodes specifically refer to the nodes used to create shaders for Cycles, but this tag can be used for other shaders as well.

Filter by
Sorted by
Tagged with
5
votes
1answer
557 views

Does the Principled Shader IOR value effect specular reflection on a transmission material

Other render engines have two IOR values - one for refraction, and one for reflection. But in Cycles there is only one and documentation states it only affects refraction. Yet with transmission set ...
5
votes
1answer
454 views

How to simply find the code/script behind the volume scatter node so I can see the math?

tl;dr I need help finding the code or OSL script for the volume scatter node. Not asking how it works, just a specific, noob-friendly instruction how to find it, or a link to it. Blender is big, and ...
5
votes
2answers
3k views

What units does the cycles SSS scattering radius use?

As a sort of follow-up to this question, what units does the scattering radius use on a cycles subsurface scattering shader?
5
votes
1answer
325 views

Which normal input socket should I use when I have a mix between shaders?

Since we have the option to use normal maps in Cycles via the normal input socket, this question frequently pops in my head: In the simplest mix, diffuse and glossy, should I connect the normal map ...
5
votes
2answers
902 views

What is the difference between “Shader” and “Material”?

I know that Shader is a type of computer program that used for shading. And it looks like Material also define how model looks like. That means for me, that in Blender "Material" equal "Shader" (or ...
5
votes
1answer
345 views

Can the areas of an object in shadow be accessed in Cycles

In Cycles can I use the amount of shadow cast onto an object as a Fac. input of a mix shader? This would be useful for setting up a Frost / snow material that is visible in shadowed areas but has ...
5
votes
1answer
1k views

Rendering transparent body and opaque edges

I want to create a material for an object such that the body is semi-transparent and only the border of the object is opaque or darker. Is it possible to develop a shader for this ? Or do we have to ...
5
votes
1answer
3k views

How do you make a cycles volume material fade to invisible at the edges?

I'm trying to model a spark using Andrew Price's tutorial (Blenderguru), but the sparks always look wrong. You can always see the outline of the ico sphere. I'm wondering if there's a way to soften ...
5
votes
1answer
378 views

Smooth shading and colored shadows

When I set the shading of a mesh to smooth, the shadows on the mesh are always black when rendered, but I need them to be blue. When I set the shading to flat the color of the shading turns out fine. ...
5
votes
1answer
381 views

Need normalized distance between geometry bounds

I would like to get a value between 0 and 1 of the distance between the mesh bounds in an axis (Y), depending on the X value. not sure this is crystal clear but the screenshot says more than words :) ...
5
votes
0answers
2k views

nVidia skin shader with the Principled BSDF

I've been using a skin shader primarily based on the Brecht skin shader, which is itself based on the Sum-of-Gaussians approach as seen in 14.4.7 from GPU Gems by nVidia. Its Cycles adaptation, which ...
4
votes
2answers
2k views

How to create a chrome texture?

Is it possible to get that typical chrome-like angled look using the Shader Editor? I see a lot of tutorials making chrome on all types of surfaces but not on a knob geometry like the one in the ...
4
votes
2answers
694 views

What is the difference between “Generated” and “Normal” texture coordinates?

I cannot understand from the documentation the difference in the Texture Coordinate node (in Shader) between Generated and Normal, and even the purpose of the Texture Coordinate node itself, which I ...
4
votes
2answers
402 views

Help with rough Shading in blender

I'm trying to make a shading in blender 2.8 that looks like the handle of the Glock like in the picture
4
votes
1answer
16k views

Alpha Channel in Eevee?

Apologies in advance for the Eevee question... but!...now that the releases are getting more stable, I'm messing around with it and wondering if anyone has gotten an alpha channel/transparency mix ...
4
votes
1answer
420 views

Cheetah Print Sunglasses Texture

This is probably a simple question, but I would really appreciate some help here. I am trying to replicate the material of the attached image. I'm a little lost so far and have tried several different ...
4
votes
1answer
2k views

How to create a distorted reflection glass?

How to distort a glass reflection to make it look the same as pictured below?
4
votes
2answers
172 views

Grid material that extends with mesh?

For clarification, I am trying to create a Supergrid: Put a 2m x 2m grid texture on a mesh. When I move or scale the mesh, the grid will increase as the mesh does (the 2m x 2m does not stretch or ...
4
votes
2answers
1k views

Is it possible to create realtime outline effect in Eevee, only with shaders?

I know It's possible to do this with solidify modifier, or manually duplicating the mesh, fatten and flip normals (which is more or less the same thing as the solidify method). Like this one And I ...
4
votes
2answers
532 views

How can I create procedural tiles with uniquely seeded textures for each one? [Updated]

My goal with this experiment was to create a procedurally tiling floor where each tile is unique. After messing around for a while, this is what I came up with: Result: I was really pleased, until I ...
4
votes
2answers
2k views

How can a vertex have a normal?

I understand a normal to indicate the following information: normals are intersections which are perpendicular to the plane of your face I understand this to be a vector. And that a shader uses ...
4
votes
2answers
246 views

Capsuling a tube shape in a volume

I have this node setup : I want to improve it a bit giving the cylinder light a capsule shape like that : This shape can be at any side, or both, you choose. The distance of the red circle to ...
4
votes
1answer
182 views

Emissive shader does not change much in changes of orders of magnitudes [duplicate]

I'm trying to make some LED lamp but the EMISSIVE feature doesn't react as I expect. I read on the Blender manual that the emission power is defined in Watts per Square Meter. It doesn't really seem ...
4
votes
1answer
251 views

Why is “combine HSV” node showing different color with the same values?

I made a glass object and gave it a desired color, but now I want to animate its hue at the end of the animation (like and outro). So I used the "Combine HSV" node and used the exact same ...
4
votes
1answer
2k views

How to convert object space normals to tangent space?

I'm trying to experiment a workflow where I can manually paint normals to create stylized shading for a model. Painting on the model, I want to use object-space normal, as it's easier to work with, ...
4
votes
2answers
206 views

does anyone knows how to make spiral clouds (hurricane) for a planet?

Does anyone knows how to make spiral clouds (hurricane) for a planet? i want to make a planet with spiral clouds like in the image but here is the thing online tutorial on youtube show you how to make ...
4
votes
2answers
7k views

Get glossy shading but no reflections (Cycles)

If you use a glossy/shiny material, it will have certain shading. It will also reflect the world environment color, and nearby objects in the scene. Is there a way to make it so that you still have ...
4
votes
2answers
3k views

Simulating rounded edges on a mesh

I'm looking to create the illusion of rounded or beveled edges without actually adding new geometry as a batch process for multiple types of meshes, from something as simple as a cube to very complex. ...
4
votes
1answer
2k views

Can't change to smooth shading

I am building a car engine and I want to set it to smooth shading. But for some reason it does not work. Has anyone an idea how to fix that? Here you can download the .blend file.
4
votes
1answer
309 views

Looking for a more gentle Brightness/Contrast algorithm than the native node

I am trying to put together a brightness/contrast node group. I am aware of the one in Blender, but the algorithm is lacking in my opinion. Here's an example: Here's an adjustment made in Photoshop: ...
4
votes
1answer
79 views

How to modify each current's material of a twirl

I need to change this: to this: The twirled tunnel was sophistically crafted from multiple properties, now I need to apply a unique coloured marshmallow material to each current (will reduce to 5 ...
4
votes
2answers
154 views

How to I change the Interpolation Type in the Map Range node like the documentation says?

According to the documentation, you should be able to change the Interpolation Type of a Map Range node. I am on 2.91.2 and don't see it. Is this a new feature that I don't yet have access to? ...
4
votes
1answer
1k views

Can't see a glass object through another glass object in Eevee

I was just testing Eevee and found that you cannot view a glass object through another glass. Is there any workaround? It works fine only If I rotate the glass window or put my camera to the back side ...
4
votes
1answer
1k views

Shader that is only visible when the face normal points up

I'd like to create a shader that is completely transparent except for top faces that are parallel to the floor (face normals being parallel to the global Z axis). Used on a cube, only the top face ...
4
votes
2answers
2k views

How can I render objects with very shiny surfaces?

I am trying to render a kitchen sink / Faucet Here is another reference image of what I want What I have got so far is this Settings for World: I have used an environment map HDRI with 0 ...
4
votes
1answer
696 views

Color Ramp vs RGB Curves in Cycles

I understand that both of them convert color values, but how are they different/similar? In other words, what are examples of situations where one would be better than the other? I understand more or ...
4
votes
1answer
2k views

How to remove the effect reflection of shadow

In this image, why the shadow is strongly reflected on the person. How can I fix that problem ? I am using a direct lighting by setting the rendering parameter as:
4
votes
1answer
110 views

Change material on part of object with other overlapping object

I learned this trick sometime ago but I have forgot. So what I want to do is add different material to an object using other object. For example I have two cubes. One has red material and one has ...
4
votes
2answers
148 views

how to “randomize the color ”of arrayed object

I was making the tutorial of the "easy environment design " of Ducky 3D. I wanted to try to randomize the color of the arrayed cylinders' emission part. by info object node and color ramp. ...
4
votes
1answer
1k views

How to imitate early CGI style animation?

I just finished the doughnut tutorial series and wanted to know what I need to learn next. I was wondering whether anyone has any advice about how to make the shading and water/fire simulations/...
4
votes
1answer
65 views

How come reflections are still visible using 0 bounces?

After creating an animation, I decided to try and optimize my render settings so I could get the final result much faster. (I am using cycles) A lot of people advised me to lower the bounce count, so ...
4
votes
1answer
7k views

Ambient Occlusion node in EEVEE not working

So I am using Blender 2.8, and I cannot seem to get the Ambient Occlusion node to work in EEVEE. I realize it is in beta, so it could just be a bug in 2.8, but I have seen other people use ambient ...
4
votes
1answer
1k views

Cycles nodes: is it possible to get distance to nearest edge?

I want to create a procedural texture that will be based on the geometry of an object. How can I get distance to the nearest edge for the current pixel of an object in Cycles nodes? I hope it is ...
4
votes
1answer
748 views

How do I use refraction to make underwater shadows look better?

I'm using Cycles. I've been messing around, trying to have fun with Minecraft Blocks in Blender. I also made water, using just a square - one face of a cube. I tried mixing transparent with diffuse ...
4
votes
1answer
694 views

Object appears jagged in final render?

When I try to render a glass material, in rendered view it looks good, but when rendered, I get this wavy effect and black outlines. Polygon detail: The scene is just a glass object with a glass ...
4
votes
1answer
109 views

Weird shadow colors / saturation in a Copper material (Principled BSDF)

I feel like an idiot right now for not knowing what's causing this. I have been saving out some metal shaders and ran into this problem: If you look at the interior of the ball, the shadows are ...
4
votes
1answer
246 views

Shading artifacts

Sometimes I encouter this problem. Anyone knows why this happens and how to fix it? Here you can download the blend file: https://www.dropbox.com/sh/dkoikr6qwosq25f/AADJYnH1-uv2haNshs-nq7nWa?dl=0 Flat ...
4
votes
1answer
461 views

How to make a mask for voronoi texture (with randomness)?

click to enlarge I created mask from gradient texture with rgb mix node but it cuts some voronoi cells in half. edit: i need the voronoi position to act as a mask..so it didn't cut the voronoi cells. ...
4
votes
1answer
5k views

Edge Angle as Cycles Shader input

I am practicing with the creation of various procedurally generated materials and a unique problem has come up for me. I have looked at a number of tutorials on shader creation and have been ...
4
votes
1answer
3k views

How to make a glowing crystal texture in Cycles?

This is my node setup and the type of output I desire. However, this works well if the shape used is a sphere. I want to apply this same effect on an elongated sphere (some close to the shape of a ...

1
3 4
5
6 7
43