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
5
votes
1answer
353 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
333 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
1answer
2k 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 ...
4
votes
4answers
6k views

How to make a mesh look like it was 3D printed

How can I make a mesh "look 3D printed", i.e. you can see the layers. e.g.: You see all those layers? How can one do this? Maybe a bump map? or is there an option to separate a mesh into pieces, i.e. ...
4
votes
2answers
1k views

Angled Chrome Texture

Is it possible to get a chrome angle using shading editor? I see a lot of tutorials making chrome on all types of surfaces, but not on a knob surface, like the one in the image. So if possible can ...
4
votes
2answers
6k 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?
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
649 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
233 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
2answers
3k views

Built-in Cycles Bevel Shader customization

There is a new feature now in master that can be used by downloading daily build of Blender: https://builder.blender.org/download/ It's bevel shader for Cycles. I tested it and it works great. ...
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
704 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
1answer
566 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
595 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
593 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
4answers
5k views

Bump mapping vs Displacement (plus displacement nodes in Cycles)?

Learning Blender+Cycles (2.79b), I'm trying to experiment with vertex displacement and bump mapping. My understanding: bump mapping is to adjust face normals and create shadows/highlights suggesting (...
4
votes
1answer
426 views

Trying to convert a DXT5NM Normal Map for use in my scene

I have a handful of these strange normal maps I need to use in my scene that store X in the Alpha channel, Y in the green channel, and require you to calculate Z with the following formula: Z = sqrt(...
4
votes
1answer
2k 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 ...
4
votes
1answer
924 views

Smooth shading / Sub Surface / Distorted render

I'm new to Blender and have been following along tutorials on youtube and I must say, and loving it. So I've reached a gap in which I can't find any help on. In short, I'm trying to design a grinder ...
4
votes
1answer
13k views

Cycles: Assign material to vertex group

I know it's possible to have multiple shaders for one object with the internal renderer. This video explains the process. Can I use Cycles to assign a material to a vertex group so that a single ...
4
votes
1answer
1k views

Can I access the render screen size in a custom filter 2D in the game engine?

I am using Blender Game Engines Filter 2D to make a post effect with GLSL. In an fragment shader applied on the frame buffer, I want to access the size in pixels of that buffer in GLSL. ...
4
votes
1answer
853 views

What is the physical difference between the Subsurface Scattering and Translucent shaders?

Generally speaking, I know to use translucent for leaves and SSS for skin, but why is this? Physically speaking, how do these shaders refract/scatter rays differently? Why does translucent have no ...
4
votes
1answer
506 views

Replace texture coordinate “Reflection”

I'm working on an eye shader. It renders quickly, firefly-less and looks fairly good, but I hit a roadblock and could use some help here. The eye uses a single sphere instead of being broken into ...
4
votes
1answer
4k views

Procedural texture is stretching

I have this procedural texture which creates a little camouflage pattern, but it appears to be stretching on the hull of the plane. Here is the node setup, super simple. And here is the issue. You ...
4
votes
1answer
1k views

Shader receive light cast shadow with its color

I'm trying to create shader like this image of dice. As you noticed, there is some shadow from dice which cast color of dice, how can i create something like that.
4
votes
1answer
1k views

Cycles - What is the expected range of values for Displacement?

Let's say I have the following [kinda boring] shader setup: For what output values of the Voronoi Texture will the surface appear to be displaced outward? How about inward? In Houdini, negative ...
4
votes
1answer
54 views

Procedurally Generated Texture Scaling based on Surface Curve

I've got a fairly simple character that I'm texturing procedurally, and my question is this: Is there a way to tell the Voronoi texture base that I'm using to have variable scale based on how flat/...
4
votes
1answer
340 views

Looping function in node editor?

I want to be able to loop a certain math function (in the node editor) x amount of times. I want to do this without scripting (unless it could be done so while still being able to run on GPU). For ...
4
votes
2answers
2k views

Confusing problem when I'm trying to mix Diffuse with Glossy shader

Alright, so I have a confusing problem when I'm trying to mix together a Diffuse and a Glossy shader. To be more precise, this is how the scene I'm trying to create looks like with only the Diffuse ...
4
votes
1answer
221 views

How to make this animation look more like a satellite orbiting a binary star?

I'd like to increase the reflected light from the two rotating stars off of Suzanne the satellite, without making them appear brighter to the camera so that the pulsing of the two colors is noticeable....
4
votes
1answer
193 views

What happens when you plug a BSDF into a value socket?

What happens when you plug a BSDF (shader) socket into a value (float/color/vector) socket, or vice-versa? Obviously there is no way to convert a function to a value, so what does blender do? From ...
4
votes
1answer
177 views

Emission and Transparant mixture works in 3D View but not in Render

I'm a bit new to cycles shaders, so I'm going about this a bit blindly. I've tried mixing a few shaders, and it works in the rendered viewport, but not in the full render. I'm trying to make ...
4
votes
2answers
2k 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?
4
votes
2answers
321 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 ...
4
votes
2answers
823 views

Decompose image into albedo and shading with cycles

I am using cycles render in Blender for my scene and would like to decompose it into albedo and shading components. The concepts could be referred from these sites: http://www.cs.toronto.edu/~rgrosse/...
4
votes
2answers
1k views

Why is this mirror object not reflecting light onto another surface properly?

I have a scene where the sun rays should be reflected from a mirror to create this sort of effect: The problem below was resolved, scroll down to EDIT. However, I can't get any light reflected from ...
4
votes
1answer
4k views

How to access the window width/height inside a GLSL Shader?

Inside a Python script defining a GLSL shader used on the game engine, how do I access the width/height of the game window?
4
votes
1answer
233 views

Correctly combining a two layer material in cycles

I am trying to create a material that has two physical layers. A thin top layer covering the second main body layer of the object, I have drawn a quick sketch of what I mean: Light interacting with ...
4
votes
1answer
2k views

Glass Volume Material with Caustics and Colored Shadow

I am trying to build a glass shader for a glass volume material and I want a photorealistic image of the glass object the caustics good enough correct color of the shadows of the glass object Here ...
4
votes
1answer
136 views

Why is blender using so few resources

Right now I am doing the final render on my light-saber and previously when I would render objects with around 1000-3000 samples depending on the complexity it would take maybe an hour but now blender ...
4
votes
1answer
174 views

How can I add banded lines to the end of cinnamon sticks(or sheets of wood)?

I would like to make a realistic cinnamon stick and its shader. My approach is as much procedural as possible, but easier options are ok too. Here is my first render: And a reference image: (3)I ...
4
votes
0answers
37 views

Shading according to velocity

I have a rigid body simulation of many objects and would like to change how they're shaded depending on velocity. It's easy to get location from object info node, but how about change in location ...
4
votes
0answers
377 views

How to create a velvet fabric material

I have been looking at this painting for a while trying to recreate the red fabric material on his hat and poncho (not sure what the name is, but it looks like a poncho) from what i can tell it is ...
4
votes
0answers
1k views

Blurry reflections using Principled BSDF in Blender 2.79 test build [closed]

I did a quick test with the latest test build of Blender 2.79 (blender-2.78.0-git.db8bc1d-windows64) comparing reflections in a plane from an environment HDRI texture (free 8k "sunny_vondelpark" from ...
4
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
182 views

Issue or Bug. The shading of an object changes when deselected in “Smooth” mode. (Why Radeon Users May Want to Avoid Ubuntu 16.04)

Issue or Bug. The shading of an object changes (to Flat) when deselected in "Smooth" mode. These changes only appear to the unselected objects in the scene in object mode. It's like the object turns ...
4
votes
1answer
391 views

Editing group node sockets, with no external input?

Blender 2.76 Is it possible to edit a group node's inputs by only editing the sockets? Without connecting external nodes to the sockets? I have created a group node containing two diffuse shaders, ...
4
votes
0answers
89 views

GameEngine: KX_BlenderMaterial vs KX_PolygonMaterial

I have a question about the material types in the game-engine. e.g.: 2.66 Blender API - KX_PolyProxy(SCA_IObject) 2.66 Blender API - name ~ The material of the polygon. When is the material a ...

1 2 3
4
5
26