Questions tagged [shaders]

A shader is a computer program that usually runs on a GPU and 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
66
votes
1answer
26k views

What is a BSDF?

The term "BSDF" is common in Cycles shaders such as "Diffuse BSDF" and "Glass BSDF" but is not present in all names ("Emission" and "Mix Shader" are two such examples). What exactly is a BSDF?
41
votes
6answers
31k views

How to illuminate the darkness inside glass objects in Cycles?

My model has a clear plastic (or glass) dome with objects inside. The objects appear dark. I've tried the glass shader with color 100% RGB, with very small IOR, and using just a refraction shader. ...
37
votes
9answers
34k views

How to reduce fireflies in Cycles?

I often use Cycles' built in Glass BSDF shader to achieve realistic refraction effects, but in many cases, it seems that Cycles' glass caustics creates an unfortunately large number of fireflies (...
36
votes
3answers
12k views

Iridescence In Cycles?

Is it possible to create an iridescence shader in Cycles? Specifically for something like DVDs, soap bubbles, engine oil, etc.. I know about this technique for a DVD material, but it doesn't properly ...
36
votes
2answers
4k views

How to make a holographic reticle shader in cycles

Does anyone have a lead on how to set up a shader in cycles to mimic the behavior of hologhraphic sights in blender, as shown in this image? I don't want to have to try and figure out exactly how to ...
32
votes
1answer
6k views

How does EEVEE work?

We all know what Cycles is, at least to a first approximation: Cycles is a path tracing engine [...] Specifically, cycles is a "backwards" path tracer, which means that it traces light rays by ...
29
votes
4answers
9k views

How do I create a reflective white material?

I'm pretty new to this and this is my first question here, any help would be greatly appreciated. So basically what I want to achieve is a floor material as seen in this photo... ...the reflections ...
27
votes
1answer
6k views

How do I emit light from inside a object?

I need to know how to make the buttons in my blender project look the same as in this photo. Mine all look pale, even with the emission material. Is there anyway I can get my buttons like this?
26
votes
1answer
2k views

How to make a “reflective tape” material in cycles?

How can I make a cycles material that gets very bright when a light is shown on it, yet still has normal colors? I'm talking about the "Retroreflective sheeting" that can be seen on road signs, the ...
24
votes
7answers
68k views

How to render cartoon style with completely flat colors?

How to render perfect cartoons in blender? Whatever the engine is (internal or cycles) I always get that shading transition somewhere on the model. The first picture is in blender internal render ...
23
votes
2answers
10k views

Difference between Add Shader and Mix Shader?

What's the difference between Add Shader and Mix Shader nodes with the Cycles rendering engine? I know that Mix Shader gives you more control over the material ratio, of course, but are there any ...
21
votes
2answers
31k views

Shader nodes are missing?

I have blender 2.69 and I've been following a tutorial on how to make text. The only problem is when I go to add a glossy shader in the node editor it does not exist. Neither does the shader category....
21
votes
3answers
7k views

Blurring/Feathering a Procedural Pointiness Mask

I'm trying to create a procedural mask to affect the sharp edges of my model using the Pointiness output from the Geometry node, ...
21
votes
3answers
5k views

What do glossy distribution models do?

In Cycles, the glossy (and anisotropic) shaders have a Distribution option. Since I don't really know the difference, I have always left it at it's default (GGX). So what is a distribution model, ...
20
votes
2answers
10k views

How to change hair color along length of strand?

At some point (not right away), I'll be wanting to make a character model which has multicolor hair. Namely, it will be one color closer to the roots, and another color closer to the tips. Is there ...
19
votes
1answer
42k views

How to add bump to shader?

I have a simple diffuse shader. I would like to add some bump to it. How can I do this in Cycles? Where do I plug in my checkered texture.
18
votes
2answers
7k views

What do the settings in the new Principled Shader actually do?

I'm trying to understand how the new Principled Shader in 2.79 works, so I can make a video tutorial on it. I get most of it, but a few things have me confused, and there currently isn't much ...
17
votes
2answers
3k views

Custom fresnel curve

When it comes to recreating the shading of metals like chromium with such extreme reflection curves it's obviously inaccurate using one averaged reflectance curve. Also eye-balling the values appears ...
16
votes
2answers
3k views

Can Cycles do a Gooch Shader?

Now that 2.68 has introduced a toon bdsf, is it possible to recreate the Gooch shader? Insight, links, or a nodes screenshot would be great.
15
votes
3answers
3k views

reflecting direct light on glossy surface in Cycles

Working in Cycles. Say I have a "disco ball" with a glossy shader. I'm pointing a spot light to it, and I'm trying to have the reflections of that light illuminate the diffuse material on the walls ...
15
votes
1answer
10k views

What is the difference between Translucency and Transparency?

I have been wondering this for a while. What is exactly the difference between a translucency shader and a transparency shader?
15
votes
1answer
4k views

How can the Glass Shader be imitated using only other shaders?

Exactly what does the Glass shader do? I would guess that it combines the effects of Glossy (zero roughness) for reflections, and Refraction for, obviously, light refracting through the object. ...
15
votes
1answer
2k views

Relation between Fresnel IOR and Layerweight blend?

I know that the Fresnel and Layer Weight nodes do much the same thing, but with one accepting a proper Index of Refraction, and the other a value between 0 and 1. I have always used the Fresnel node ...
15
votes
5answers
2k views

What is the technical difference between a diffuse shader and a rough glossy shader?

If I understand correctly, the roughness value on the glossy shader controls the amount of random scattering of rays that reflect of the surface of the object, with ...
14
votes
2answers
1k views

Texture vs. Material vs. Shader

I'm working my way through a Blender online course. Sometimes the word material is used, other times it is a texture or a shader. I feel like all three of these words, while related, have a ...
14
votes
1answer
1k views

How to: Exponential Fall Off for Volume Density?

I'm trying to create a photorealistic Earth Atmosphere. Several papers written on the topic of atmospheric scattering state that our atmosphere's density has an exponential fall off, with most of it ...
14
votes
1answer
418 views

What are some use cases for the singlar ray output?

Using the singular ray output, it's possible to detect whether or not the object is being viewed through a perfectly sharp reflection or refraction: Besides changing colors of reflections, what are ...
13
votes
3answers
13k views

What does the Roughness setting on a diffuse shader do?

What does the Roughness setting value in a Diffuse shader actually do? The wiki says: Surface roughness; 0.0 gives standard Lambertian reflection, higher values activate the Oren-Nayar BSDF. But ...
13
votes
1answer
6k views

Add scratches to a material in Cycles?

Is there a way to add scratches (like on worn metal) to a shader in Cycles?
13
votes
2answers
13k views

How can I add Lens Flares/Halos?

Is there an addon, or an easy way to add lens flare effects or light aberrations in Blender? I've been using Blender for a while now, and it's very time consuming to always have to export to another ...
12
votes
4answers
484 views

How can stipple shading be replicated in Blender?

I have had this idea for a little while, using Blender to simulate traditional stipple shading. I have gotten an OK effect using a mix shader with ambient occlusion as a factor to spread a stipple ...
12
votes
3answers
1k views

How to create a long shadow icon?

I am trying to create a flat/modern looking icon. The visual style I am aiming for is Here is what I got so far with my icon. As you can see it is missing the fake shading and fake shadow. Is there ...
12
votes
2answers
14k views

Different image textures for one material (Cycles)

With Blender Internal (2.79 and older), you can add a UV layer, assign images to each face, Then enable the materials Face Textures option. Is there some way to to ...
12
votes
3answers
2k views

Is there a smart way to apply a better transition between colours while maintaining one solid colour per face?

I recently started using blender for a project. I have tried using a color ramp with a transition between the 4 colours, but the result is too smooth when applied: Im aiming to achieve this kind of ...
12
votes
3answers
4k views

Can I refer to another object's properties from a Cycles node shader? Drivers? If so, how?

I am trying to develop several shaders that need to take into account the position or orientation of another object in my scene. Seems like a generally useful thing to be able to do. Here's an ...
12
votes
1answer
4k views

What does the radius vector do on an SSS shader?

What exactly does the radius vector value on a subsurface scattering (SSS) shader do? In his SSS tutorial (making realistic bread), Andrew Price says that the XYZ values translate to the RGB values ...
12
votes
1answer
855 views

How to make an “old glass” material in cycles?

I'm asking about the glass found in old windows. It is not just dirty, scratched, or with varied roughness, but it has irregular imperfections in the glass that make all sorts of distortions. Both ...
12
votes
2answers
3k views

Can cycles Wireframe Input be coerced into displaying Tris, Quads and Ngons

edit 2 years later: Here is an alternative answer that meets the desired end-result using FreeStyle. Is there a way to make the wireframe input show the geometry as BMesh polygons instead of the raw ...
11
votes
1answer
2k views

How to mix 2 shaders depending on distance from camera

I want to mix 2 shaders in a way, that part of a mesh that is more far away from camera are using one of my shaders, and part of the mesh that is closer to my shaders is using another shader, with ...
11
votes
2answers
1k views

Combining multiple textures with a white background

I'd like to sort of "overlay" these shaders, but the only options are mix and add. Allow me to explain. I made two images, both white background, one with red scribbles and one with blue scribbles, ...
11
votes
3answers
8k views

Is it possible for a emission shader not to cast shadows?

Is there an option, like on lights sources, to tell the object that has an emission shader to not cast shadows in the scene?
11
votes
1answer
4k views

Particle Color based on where the particle is emitted?

Is it possible to change a particle's color to the color of the face/texture part it comes out of in cycles? I want it to be the color of the face after shading and all that other stuff
11
votes
1answer
1k views

OSL and raytracing

I don't know much about the Open Shading Language, but I need to know if it can do a few things before I decide to spend the time to learn it. Can OSL manipulate rays that hit surfaces? Such as: ...
11
votes
1answer
775 views

Recreating Mandelbulbs with math nodes

I'm trying to recreate a Mandelbulb using Volume and math nodes in blender. I have been able to create a Mandelbrot with math nodes but I am having problems making it 3d. I tried translating this ...
10
votes
1answer
3k views

Is the Principled shader a combo of all shaders?

I heard that the new Principled shader is a combination of all the other shaders. Is it true? If yes, then can you please list all of the shaders/nodes that are obsolete now.
10
votes
1answer
3k views

How to render lightning in Cycles

How can you render a lightning bolt using Cycles?
10
votes
1answer
1k views

What can a custom cycles shader do?

It is my understanding that Cycles is a ray/path tracing render engine, and that it works by firing out "sightlines" into the scene to render, which interact with materials they hit in a defined ...
9
votes
5answers
9k views

How to create this colorful metal material?

I want to create this material, but I cannot create these splotches of colors well enough. As you can see, this has different colours in it. I can see pink, green, and a little yellow. This is the ...
9
votes
2answers
8k views

Generate Particles with Random colors (continuously or from a set)

I am trying to do rocks and I want them to have a random base color from within the colors that look "rocky". The only method I know of is to duplicate the base objects over and over and give each a ...
9
votes
2answers
14k views

How can I make a surface look wet in cycles?

I am trying to recreate a wet road with lights reflecting off of it. I started by making the object glossy but this did not give a very realistic look I think I need to increase the specularity of ...