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
11
votes
1answer
4k 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.
11
votes
2answers
2k 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
1answer
13k views

My glass material isn't transparent in Eevee

When using Eevee, an object with a glass material (in this case: Principled BSDF, trasmission set to 1.0) doesn't seem like it can be looked through: it's completely opaque. See for instance the ...
11
votes
1answer
2k 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 ...
11
votes
1answer
1k 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 ...
11
votes
1answer
4k views

Find users of a material / texture / image which is not displayed in the outliner

How can one search by name for a material / texture / image datablock that is not displayed in the outliner, for example because it's buried somewhere deep inside a node tree? Let me please describe ...
11
votes
1answer
1k views

Creating a wavy dot pattern in a Cycles shader

[Solution at bottom of question] I'm trying to create a shader to draw dots in a wavy pattern. I have the dots, and I have the waves, but I'm not sure how to combine the two. I create the dots by ...
10
votes
5answers
13k views

How to get random color variation on a single mesh?

I am trying to get color variation and to bake it in a single mesh but the Object Info Random only works if i separate the meshes. Is there an alternative way to get the same result with the meshes ...
10
votes
2answers
20k 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 ...
10
votes
2answers
1k views

What exactly *is* a “closure”?

As I understand it, a "closure" is the thing passed out of those green dots on the ends of those magic black boxes known as "shaders": I've vaguely imagined that they somehow described a sort of "...
10
votes
1answer
4k views

How to render lightning in Cycles

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

How exactly does the Sigma parameter affect the Velvet shader?

How does the Sigma value of the Cycles Velvet BSDF shader work? Intuitively, it seems to serve as some sort of ceiling value for the shading. How does it affect the light bouncing? I've looked at the ...
10
votes
2answers
6k views

How to create fire materials using the new Principled Volume node that visually look the same as the “old method” of fire materials?

There is a new volumetric shader node called "Principled Volume" in Blender 2.79 as of this commit. It appears to support a new temperature attribute, using blackbody temperature. Using the ...
10
votes
0answers
176 views

ignore self-shadows for a cel shaded effect?

So For this project i'm trying to achieve somewhat of a cel-shaded look. Cel Shading is an attempt to make 3D Art look 2D, But The Main problem I've found with Cel Shading effects is the shadows are &...
9
votes
5answers
25k 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
3answers
12k views

Procedural polka dot pattern with cycles

I would like to generate a polka dot pattern using material nodes. In the meantime I found this script which seems to achieve exactly what I want. However, when I create a script node, link to the ...
9
votes
3answers
11k views

Why does an object with a glossy shader render in black?

When I apply a glossy shader to the material of my text, the text becomes just black. Why? I have lamp and everything, but the problem persists. The text is red before I add the glossy shader. I'm ...
9
votes
2answers
1k views

How to use color ramp with torus

I have a torus and I need the material to use a color ramp so that all the surface has one color (red) except for a strip along the longest edge (yellow). Something like this: I tried unrap in every ...
9
votes
2answers
1k views

How to normalize the color values of a shader (Pointiness)?

The contrast for the pointiness changes depending on the vertex density on the model. The Normalize node to have a value range of 0 to 1 isn't available in the shader editor. I thought it would be ...
9
votes
1answer
407 views

How can I randomize Wave Texture's Wave Width?

I'm trying to create a Brown Dwarf / Jupiter look. The waves / bands are all relatively evenly sized and the colors are very "black / white / black / white" Is there a way I can randomize ...
9
votes
1answer
545 views

Radial vector displacement

I'm struggle with vector displacement shader. I'm trying to do something like reverse cone but I can't figure out how to add radial direction. I would like to use RGB curves like screw (lathe) ...
9
votes
1answer
22k views

How to make a crystal material?

How to make a crystal material in cycles with the node editor? Much like this - Not exactly like the image because I'm trying to make an object with a light that is emitting from the center of the ...
9
votes
1answer
464 views

I'm lost in the shader editor

Everytime I hold scroll on my mouse to move, it like somehow teleports down and I have to scroll up again. THis time, it was WAY WORSE, as it went too far down and now I can't find my nodes
9
votes
1answer
4k views

how to make a realistic sugar cube material?

I have been struggling with this for a while, and can't figure out help. I would like to make a realistic sugar cube material procedural, but so far I couldn't manage to get a satisfactory result, can ...
9
votes
1answer
417 views

Can I use something similar to the ParticleInfo Node but for meta objects?

In cycles you can control the color of a Particle-(dupli)Object with the ParticleInfo Node. You can, for example, divide Particle Age by Lifetime and use the result as factor for a mix shader. I ...
9
votes
0answers
1k views

Does a model exporter embedding materials as GLSL scripts exist?

as described in Blender Shader in OpenGL/GLSL, it is possible to export the (unoptimized) GLSL code generated by Blender for a given material. Since the viewport can use such GLSL for real-time ...
8
votes
6answers
3k views

Make specific color in a texture transparent

I am working with very old model files that have BMP textures. The designers did not use a transparency in the textures or a separate alpha b/w texture. They used a specific color value that was then ...
8
votes
1answer
803 views

Emission on steel from laser cut

I’m animating a plate of steel cut by laser rays. My animation is complete for the most part of it but I want to make the overheating of the steel where the laser passes visible. As it passes it ...
8
votes
3answers
565 views

How to create baked bread shader?

I want to make a bread shader so that it is darker on top than on the bottom. I know how to make color, bumps and everything else, I'm only interested in a black and white mask for mixing colors. Of ...
8
votes
1answer
5k views

How do I create a magnified glass effect in Cycles?

Currently I'm trying to create a sniper rifle scope, and would like to create a magnified scope effect (with modeled lenses if necessary). But I'd like to make this a more general question, as that ...
8
votes
2answers
391 views

how to recreate microscopic diatom glass material

I have been trying to recreate the material seen in the picture without success, this picture is an electron microscope image of diatom shells, they have 2 important characteristics. first, since they ...
8
votes
1answer
1k views

Different look of material with Mix Shader vs Mix RGB

I am mixing colors and roughness of a Glossy shader through Layer weight node. Material: Mix Shader: Mix RGB: Why do the same properties used in two similar approaches give a very different ...
8
votes
1answer
4k views

How to create dota 2 assets ? (Steam Workshop)

I want to model, export and compile an asset made in Blender to the game Dota 2, which tool(s) do I need and what are the settings?
8
votes
1answer
11k views

Objects, shadows and reflections not rendering in EEVEE

I started to work with EEVEE short time ago and I was amazed by the capabilities of this engine. However, I noticed something strange when I was rendering some tests. Some objects/reflections/shadows ...
8
votes
1answer
2k views

What is wrong with this OSL shader?

I don't understand what is wrong with this shader ...
8
votes
2answers
89 views

how to get a mask that only contains the inside of a bowl

I am trying to texture a bowl (procedurally) and I want a part of a texture to only work on the inside walls of the bowl and vise versa I tried using the back facing option in the geometry node but ...
8
votes
3answers
2k views

Light path Transparent/Diffuse Depth

I'm working on a cycles shader that requires thickness information, and by that I mean interaction between the mesh with the shader itself and other objects inside it, in a way that as closer a ...
8
votes
1answer
7k views

How to properly use git with blender?

We normally save backups with .blend1 and so on (but I will ignore all the .blendNumber files), but if I wanted to have a repository and maybe 2 or more people working on it at the time, how should I ...
8
votes
2answers
753 views

Emission shader color saturation clipping

I stumbled on a trick that while working on one project that will help me with another, but I am not sure why it works. When I set the color of an emission shader to a saturation of 1 the shader ...
8
votes
2answers
1k views

How to match material properties to physical reality?

I'm trying to make a realistic gold shader. I would like to know what is the right way to match the information found on refractiveindex.info (for gold: http://refractiveindex.info/?shelf=3d&book=...
8
votes
1answer
915 views

Around-Corners Transparency in Cycles?

Using Ray Length I can make the center of a cube hollow. But what I actually want is the inverse - for the outline to be transparent and the inside solid. At a glance it seems this would be a matter ...
8
votes
1answer
607 views

Recreating the line detail in shadows from The Wolf Among Us in blender?

This is my first year of using blender so I don't have a lot of experience in blender at all. I'm trying to recreate an effect that Telltale used in The Wolf Among Us for my short film. I don't ...
8
votes
0answers
70 views

how to write a custom projection type?

Is it possible to create a lens shader with EEVEE/Cycles ? I'd like to have the control over the camera position and the ray direction per sample. This allows to simulate various conventional lens ...
7
votes
2answers
2k views

How do I make a pulsating light effect material?

I wanna make a material or animation that can do something similar to this video on multiple different points on a surface. But with different speeds and distortions. https://www.youtube.com/watch?v=...
7
votes
3answers
2k views

Move center of radial anisotropic to center of object

Is possible align the center of radial anisotropic shader with the center of the hole? I tried: Move origin (I always think origin determines the center of anisotropic- not true) Separate tangent ...
7
votes
2answers
13k views

DirectX vs. OpenGL normal maps

I'm curious which type of normal map works better? DirectX or OpenGL normal maps? Which one to use for cycles and eevee?
7
votes
3answers
25k views

Cycles Materials to Unity Shader

I have a really nice looking crystal material using cycles applied to my object; it's pretty fast and very simple - Just one glass node. Is there any way to convert this into an HLSL shader for use ...
7
votes
2answers
2k views

Rendering sharp shadow on cycle rendering

I would generate a clear shadow projected on a floor. I am wondering what is the essential node used to achieve this. I am using these nodes and I get this image, I remark that the shadow is ...
7
votes
3answers
5k views

Shader: Rounded edge between the two intersecting faces?

Is there way to do "Rounded Edge Width" in Blender? It's familiar for me from Modo. Anyone know the trick? Like Modo's Rounded Edge Width. Couple links for reference: From the modo documentation: ...
7
votes
2answers
3k views

Convert cycles closure (shader) output to colors?

Is it possible to convert the output of a cycles Shader node to colors? For example to use an ambient occlusion shader output to multiply or darken act as a mix factor between other shaders?

1
2
3 4 5
43