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
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
522 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
559 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
569 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
3k 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
361 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
730 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
12k 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
419 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
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
181 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
1answer
655 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
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
201 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
184 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
171 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
1answer
4k views

How to mix more than two shaders?

How can I go if I want to mix more than two shaders? Lets say that I have a diffuse and a glossy shader pluged onto a mix shader and than I want to put in a third shader (or more). How can I do that?
4
votes
2answers
737 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
3k 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
204 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
734 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 ...
4
votes
1answer
129 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
173 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
956 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
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
1answer
366 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
88 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 ...
3
votes
3answers
2k views

Glass acting as a lens?

What could be causing my plane with glass shader to act like a lens? I want normal glass, and already have tried 2 different node setups, but it still acts like a lens. Render: Glass node setup 1: ...
3
votes
2answers
4k views

BGE everything white in playmode

When I press P to play everything shows up white in the BGE. Shading is set to GLSL, and the objects are UV mapped and textured. It seems that vertex paint is overriding the material for the object ...
3
votes
2answers
675 views

Using Blender to investigate the cast of shadows from an object onto a specific point in space

I think that Blender might do what I have in mind, but I am not a Blender and Python guru, so I am looking for directions. I need to determine if a point in space is obscured by an object, i.e. does ...
3
votes
2answers
410 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 ...
3
votes
2answers
279 views

Colourful Play-Doh like Material

How can I create a clay (in a Play-Doh style) material like the one in the image below?
3
votes
2answers
543 views

Additive Emission in Cycles [duplicate]

Question is how to create additive shader. If you need particles which just "add" light to a scene. Not render a surface but create emission. If color changes from yellow to red for example, the ...
3
votes
1answer
1k views

Is the ocean modifier better than the fluid simulation for making an ocean? [closed]

Is the ocean modifier better than the fluid simulation for making an ocean when it comes to visibility under the surface of the water, reflections and splashes in the water? Which one is better for ...
3
votes
1answer
325 views

Can't find the Shader/UVs tab

I have a very basic problem: I want to create a 3D-logo. Therefore I imported a svg from Inkscape an extruded it. I know, that I have to select it in Object Mode, go to Edit Mode and then unwrap it in ...
3
votes
2answers
193 views

noise texture Projecting outward from center point

While usinging shader nodes, I am trying to make a noise texture on a plane, start from the middle and project radially so when I shrink the necessary xyz, I can turn the noise into lines.
3
votes
2answers
838 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 ...
3
votes
2answers
4k 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 ...
3
votes
1answer
1k views

Cycles special Water shader (Low Poly)

I made a low poly planet with mountains and water on it, and I am trying to achieve something like this : (Of course without the rocks in the space and the nice background) I tried several shader ...
3
votes
3answers
1k views

Import Toon Shaded Character to an outside program? [closed]

I made a character and added toon shading but I can't see it. After some research it seems that toon shading is only visible if you render the image with a camera in the blender scene. I want to ...
3
votes
2answers
98 views

Is MixRGB ALWAYS RGB calculated?

Hey guys I'm writing a Quizlet flashcard pack to help people learn and memorize how the various blending modes work within the mixRGB node. My question is, does mixRGB always handle color inputs as ...
3
votes
1answer
2k 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 ...
3
votes
2answers
352 views

Add a color input and output to OSL shader

I'm trying to wrap my head around making shaders but I have no real coding experience. I've tried looking for a solution to my problem but I haven't found anything. Maybe I'm not phrasing it right? ...