Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
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 ...
7
votes
2answers
1k views

Black reflections at extreme angles with glossy shader on smooth surfaces

How do I remove them? They don't appear when using flat shading. Nothing in the scene can cause this.
3
votes
0answers
212 views

Material Mode in Shading Panel

I have this version of Blender What is the difference between the two Material modes in the Shading panel ? On my PC GLSL seems to work, instead Multitexture seems doesn't work.
2
votes
1answer
450 views

How to avoid desaturation when using glossy material

Most materials is simulater with a white specular component. Now, if I mix the specular component with the diffuse component, the diffuse component becomes desaturated. How can I avoid this. The ...
2
votes
1answer
138 views

What is causing this unexpected shading in 3D view?

I’m encountering an issue and I am wondering if anyone could help me figure out why my created 3D model is displaying this way in 3D view. I have tried to use correct language where possible, but I ...
6
votes
1answer
486 views

Make blue glass shader in cycles

I would like to make a blue glass shader in cycles. Something like this: This was my first trying but I think it's terrible. And here's my second trying but it doesn't look well. Is there any way ...
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 ...
2
votes
0answers
88 views

GLSL interactive lighting

Often when I'm doing something in the GLSL shading mode I always need that extra interactivity for viewing what's going on with my scene. With all the materials assigned and lamps in place, from time ...
3
votes
1answer
196 views

What compute device does the material preview use to render?

Recently I have been working on a material library, and when I am working on a complex shader, the preview is updating several times a second. I find that after a while of intense editing and tweaking,...
1
vote
1answer
133 views

Diffuse material that doesn't throw shades in cycles engine

I have an object, that has diffuse shader and looks great. Unfortunately it throws some shades on the objects behind it and it looks terrible. Is there any way to make the light to be fully reflected ...
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:
1
vote
0answers
489 views

How should I apply a sub-dermal skin map in cycles?

I have been following this tutorial in zbrush and I am going to bring the model and textures into blender but I was wondering how can I apply a subdermal map like they made in cycles and what is the ...
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 ...
6
votes
1answer
1k views

Volume scatter shader causes black spots

I am following Andrew price's video on making clouds but my clouds are rendering with black spots on them. I have tried turning up the maximum transparency value under light paths but there is no ...
3
votes
0answers
263 views

Overlay a Shader [duplicate]

In addition to the Mix Shader node, there is also the Add Shader node. Now if I have two shaders that are the same with small differences, they both get added, and if there are similar areas they ...
5
votes
1answer
724 views

Shadows for games

So I don't really know if this was asked before, but I sure couldn't find it, so at least this’ll make a real nice link straight to the right answer. I have a pretty simple scene, and right now it ...
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 ...
0
votes
0answers
266 views

Object emission controlled by sunlight

I asked this previously for my Earth project but it was never given an answer and was marked as a dupe which it wasn't as the question it was linked to was about textures being controlled by light, ...
2
votes
0answers
381 views

GLSL Lightsaber (per vertex lighting)

Here's my script, which I activate in the game engine with a python controller, applied to a cylinder. I managed to achieve a pretty good result by following the tutorial on http://en.wikibooks.org/...
1
vote
0answers
51 views

Transparent Shader not Transparent [duplicate]

Working with texturing/shading a spaceship in Cycles when I noticed that the transparent shader isn't being transparent. Ship with plain diffuse: And then ship with transparent shader applied: ...
0
votes
0answers
281 views

Edge split modifier with angle removes smooth shading artifacts

There are these well known shading artifacts when you have edges on a flat surface and put it on smooth shading. When I use the edge split modifier on an object and put it on the angle mode it will ...
0
votes
1answer
164 views

Boxy Shading Glitching

I am making a game on the BGE with smooth shading pretty much everywhere. Everything looked great until I added a title screen scene. Then, whenever I switched between them while running the game, the ...
7
votes
1answer
1k views

Star Trek tractor beam effect

I am trying to create the tractor beam effect from Star Trek. I applied an emission shader with a noise texture as the factor and set the scale on the x channel of the texture coordinate to 0. That ...
0
votes
1answer
156 views

Is it possible to render an object just with the normal map?

When an object with a normal map is rendered, there are always artifacts of the polygons of the original model on the outline of the model. Is there a way to make them invisible? Here is what I mean - ...
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?
5
votes
2answers
187 views

How to blend between textures easily using nodes?

So, I have a system that basically allows me to blend several images together over time. However, it is a horrible system. There are keyframes tightly packed keyframes all over the dope sheet. Here ...
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 ...
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 ...
2
votes
1answer
2k views

Materials and Textures not Showing Up in GLSL Shading Mode

I understand that in the Blender Game Engine, the GLSL shading mode is generally suggested, because it renders real-time shadows, and it renders per pixel instead of per vertex like in the ...
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 ...
4
votes
2answers
231 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 ...
1
vote
1answer
498 views

How to make objects independent?

In Cycles, I imported a car, which a bunch of parts (in .obj format) I assembled together. For some reason, when I apply a shader to one part, it does the same to a bunch of other objects, like the ...
5
votes
1answer
302 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 :) ...
1
vote
2answers
3k views

How do I make a plane have a colored material in Cycles while adding thickness?

How do I make a plane have a colored material in cycles render mode, while making it at the same time have thickness?
6
votes
1answer
465 views

getattribute() in osl is not working

I'm trying to get the UV coordinates of from UVMap using getattribute() as follows : ...
3
votes
2answers
470 views

Setting material node properties across a large number of objects?

I'm using a Python script to generate a star-field using data from ~9k of the brightest stars (data is taken from here) Spheres are generated equidistant from the camera (eventually these will be ...
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 ...
2
votes
1answer
725 views

Weird shading effects when rendering at long distance

I'm trying to render a cityscape, but I get some weird dark patches on the buildings all the time. The scene is just conceptional, so it's all without textures or fancy reflections/ transparacy. The ...
2
votes
0answers
2k views

How to export smoothing groups made with Auto Smooth?

I know that there is an Edge Split modifier, but it actually splits geometry edges, which causes problems with further modeling. When I use "Shading: Smooth" and then enable Auto Smooth, it works nice,...
5
votes
1answer
1k views

Creating a gravity lens effect?

I was thinking of doing some scifi models, and it would involve a kind of gravity lens effect, where light is distorted and warped by a powerful gravity field. I have attempted to create a ...
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?
0
votes
1answer
1k views

Bump map connected to Glossy shader Normal input causes line artifact in render

I wanted to plug a bump map into the normal inputs of a Diffuse and a Glossy shader. But if that is done, for some unknown reason it renders only on part of the mesh. A line across the image will ...
8
votes
1answer
1k views

What is wrong with this OSL shader?

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

What is creating smudging in my render? [duplicate]

The below given image is rendered with 1000 samples with appropriate light settings but the final rendered image is coming as smudged. Is there any solution to fix this? EDIT : please find the link ...
3
votes
1answer
4k views

Why is my mesh inversed when Imported to Unity?

So I modeled this sword and all the parts were separate meshes. I used a mirror modifier when I was modeling and then I applied the modifier when I was done to make the parts into solid meshes. Put a ...
1
vote
1answer
379 views

Is there a way to have my emission shader only affect the particle system? [duplicate]

I have a scene that has a particle system and other objects. The particles are an object with a pure glossy shader. I have a plane that I have setup as an emission shader to reflect off the particles. ...
5
votes
1answer
10k views

When can a Color Ramp be used to create a gradiant in a Cycles shader?

When can you use a ColorRamp node or better to say where can you use a color ramp to manipulate the color of the mesh to be a gradient and not solid? I tried to plug the ColorRamp in to the Color ...
2
votes
1answer
8k views

How do you overlay an image on a shader in Cycles? [duplicate]

I'm trying to overlay an image on top of a shader to create the effect of having printed onto metal like so: I'm using an Anisotropic shader for the underlying brushed metal and have UV Mapped a PNG (...
0
votes
0answers
564 views

Blender 2.60: GLSL Shading problems on Blender Game Engine - objects not visible

I have a problem with my blender scene when I play it on the blender game engine. When I set GLSL shading and play my scene using the embedded game engine (P on ...
3
votes
0answers
457 views

OSL: Giving the texture method a color instead of string

Is there a way to give the OSL method texture(string, float, float, ...) a color input instead of the string which reads an image file? Or is there any type of ...