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
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 ...
24
votes
2answers
11k 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
677 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
504 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
305 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
472 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
471 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
735 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
539 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
381 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
461 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 ...
1
vote
0answers
55 views

is it possible (if so, how) to use a part of a material applied to a mesh as emitter?

I'm making a material (cycles) for a mountain : I would like to add some grass (hair) in the green zone. Is it possible (if so, how) to do that by using the green part ?
2
votes
1answer
110 views

How to fix single face mesh?

The model in Blender shows the mesh double faced and good looking but when exported into game looks like this. How can I fix it?
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 ...
4
votes
1answer
571 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 ...
1
vote
0answers
138 views

Materials defined by a texture

I have an Earth object where the surface would be with a Bump map and the ocean without it. However, the bump texture is for both and I want to block the parts for the ocean using a black and white ...
3
votes
1answer
2k views

Light path - Transparent depth issue

I made an earth object and gave it a material including the usage of the new input of the "Light path" node "Transparent depth" which makes the back faces invisible. However, when an object has ...
2
votes
1answer
583 views

Why are objects appearing as a “ghostly” image after rendering?

I'm fairly new to Blender, but I hope there's a simple solution to this issue. In Cycles I'm trying to make a composite of (soon-to-be) animated objects and video footage. I've used nodes to apply ...
0
votes
1answer
2k views

How to color a perfect reflective material in cycles?

This is maybe a funny question, but when I color a reflective material, I just change the color of the "glossy" shader, but when it comes to darker colors, I'm lost, because the gradient from dark to ...
5
votes
1answer
681 views

Toon shader making jagged shadows

I've tried to find an answer but so far no luck. All of the ones I could find went over my head. So I'm caving in and asking this question myself. I'm very new to Blender and 3D stuff, so bear with ...
2
votes
1answer
984 views

Can the blender game engine render diffuse material nodes?

I have a plane with a diffuse material of a blue color, a cube of a red color. I can see them perfectly well using cycles. When I use the game engine render all I get is gray no colors. Can the ...
2
votes
1answer
116 views

Do I need to recompile blender when changing C++ Shaders for Cycles?

I just needed to know the way of developing native cycles shaders (closures). So, if I change, for example diffuse closure(another implementation of roughness), will I need to recompile Blender from ...
8
votes
1answer
16k 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 ...
2
votes
1answer
268 views

BSDF options not availble in texture

I am learning Blender and I like to search tutorials but on some steps, I need to use BSDF but I have this: Is there anyway to change this?
0
votes
1answer
307 views

Weird fuzz/shading error on a render of a house model. Help? [duplicate]

As you can see in the render above, there is some weird fuzz on the side of the house, as well as some sort of spiky shade in the triangular area. I would like to know what causes that fuzz. More ...
2
votes
1answer
778 views

BGE GLSL materials in embedded player

I am on the very beginning of creating a game. As a GE BGE was chosen. At the moment a problem popped out: I want to use real-time shadows and when I set Shading to GLSL in the Render options I get ...
3
votes
1answer
482 views

Override final pixel color in a Cycles/OSL shader? [duplicate]

In the Renderman Shading Language, the whole purpose of a shader is to determine the final pixel color for each fragment. You have complete control over what the shader does and what the final color ...
2
votes
1answer
599 views

Is it possible to render AO with the OpenGL render?

Is it possible to render AO with the openGL render? I know there is a technique called SSAO which is used in some video games, so it should be possible. How can I achieve this?
7
votes
2answers
2k views

Is it possible to limit the “Cycles Shadow from Transparency” per Object?

There is an option in the properties panel, Render > Light Paths > Shadows that toggles "using transparency of surfaces for rendering shadows" for the whole scene. I like to render architectural ...
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 ...
1
vote
1answer
377 views

How to add glossiness on a cartoon shading?

I know I asked something like this before, but this is more centered on the glossiness. How can I add glossiness on a material that has a toon|diffuse shader on it? Do I have to combine the toon|...
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
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 ...