We’re rewarding the question askers & reputations are being recalculated! Read more.

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
6
votes
1answer
5k 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 ...
6
votes
1answer
1k views

Realistic vegetable shading

How can I have the pepper look more realistic? I have been trying a few different nodes options as shown below in Cycles, but something still looks like a plastic Node with Subsurface scattering: If ...
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 ...
6
votes
1answer
3k views

how can I make an emission shader shine through a transparent material?

I am trying to use the emission shader to make a light, but I realized that it seems to be only shining through to a limited extent: These are the nodes for the light: These are the nodes for the ...
6
votes
2answers
3k views

Can PBR be “faked” in Blender Internal or the Game Engine?

Physically-Based Rendering / Physically-Based Shaders My very basic understanding of physically-based shaders is that they have an accurate Fresnel curve (becoming more reflective at grazing angles), ...
6
votes
1answer
1k views

How to add dirt to a glass shader?

I am rendering an image of a grotty old looking light-bulb. I can make a decent clear glass material, but, not a perfect one. I simply cannot get the dirt textures to overlay properly. How can I add ...
6
votes
2answers
1k views

Is there a way to round corners on material level?

Is there a shader that can be used on material level that will give the effect of round edges when assigned to an object? I'm not looking to increase the mesh density, I remember in 3DS Max, Mental ...
6
votes
1answer
463 views

getattribute() in osl is not working

I'm trying to get the UV coordinates of from UVMap using getattribute() as follows : ...
6
votes
1answer
731 views

What are some good low-poly scene techniques?

Recently I have noticed that low-poly art has really come into vogue, and I thought it would be helpful if we could collect some helpful concepts and techniques in how to replicate this style. How ...
6
votes
1answer
330 views

Which is the best way to generate 2D mathematical surfaces with a different color each side

Here is a handy mobius strip. Mathematically it has one surface, but in Blender it's just a twisted flat mesh stitched together carefully. I added some icospheres as breadcrumbs to guide the eye. I am ...
6
votes
1answer
965 views

Why is the result of this GLSL shader asymetric when rendering with stereo “Side-By-Side”? [closed]

I am trying to achieve an inverse lens ditortion for the Oculus Rift during Side-By-Side stereo in the game engine. I am using a custom Filter2D with this GLSL shader. The distortion can be achieved ...
6
votes
1answer
576 views

Applying gradient texture to deformed volume based on Z coordinate

I'm trying to apply a fog to my grass plane, which is deformed in multiple ways (plane is subdivied + waved by hand + 2x modifier: displace. The fog is supposed to be dense at the bottom and disappear ...
6
votes
1answer
1k views

Volumetric shader not showing up in render

So, I have a problem using the Volumetric shaders in cycles. When I am viewing them in the viewport, they seem to be coming out perfectly fine, whereas when I render them, only the glass surface is ...
5
votes
1answer
3k views

How can I make a realistic cement shader with old/cracks/crumbling/paint chipping on top of a texture?

a link to an example of the desired cement can be found here: How to create and animate the water reflection (Caustics) on an object? Note the cement next to the water....looks realistic, faded, warn, ...
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 ...
5
votes
2answers
1k views

How to set default shader to principled brdf

I saw in this youtube demonstration, that this is possible. I just can't imagine where I can change the default shader. I want the diffuse white shader to be a diffuse white principled brdf, when I ...
5
votes
1answer
3k 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 ...
5
votes
1answer
2k views

How to create an underwater scene in cycles?

I have been trying to create an underwater scene in blender, but havent been getting any good results. How to setup the ocean bed and the volumetrics underneath so it looks believable. If anyone can ...
5
votes
2answers
611 views

Basics of Cycles shading

I have been using Blender for few months on and off. I keep learning and forgetting how to do things. The problem is I don't have a solid understanding of few key things in blender especially about ...
5
votes
3answers
2k views

Flat vs smooth shading in photo-realism and glossy shaders

I understand flat shading is a big no-no for parts of the geometry that curve, so transition between face do not show. I also understand the difference in the viewport: flat shading gives a single ...
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 ...
5
votes
1answer
1k views

How can I create a single Cycles texture with a different image for each object it's assigned to?

For a model I've made I'd like to keep the basic properties of the Cycles material (shader type etc) the same for most of the objects that make up the model, but have a different image mapped to for ...
5
votes
1answer
4k 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 ...
5
votes
1answer
430 views

double sided polygons in BGE

Is there a way to render both sides of a polygon in the game engine? Because as far as I know polygons have "normals" which means that the side with the normal is what will be shaded on the polygon, ...
5
votes
2answers
2k views

Slime effect material

I know the normal + glossy effect but I want the yellow to red color effect by light. thanks this is what I got so far. It kinda looks like the picture but the sss is not emitting the yellow light. ...
5
votes
1answer
2k views

How can I use vector mapping to control the Anisotropic shader?

Is it possible to use the Anisotropic shader with texture vector mapping, as with the other nodes? I don't see the "vector" input in that node... So there seems to be no way to plug the UV (or ...
5
votes
1answer
401 views

Emitting Light from Object

I'm trying to create a semi-transparent wrapper around a light source. This could be gems, brightly lit console buttons, magical semi-transparent glowing fruits, whatever. Anywho, I tried the ...
5
votes
2answers
3k views

Blender cycles glass from sideview not transparent at all

From top view glass looks like glass but from side view It looks like this: So, why its not transparent and how I can make it transparent ?
5
votes
1answer
676 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 ...
5
votes
3answers
4k views

Hard-edged polygons with normal maps

Background I'm making a character for my game (with MakeHuman), and I wanted to add normal maps to the characters. I generated one low-poly character and then one high-poly using a bunch of Subsurf ...
5
votes
1answer
942 views

Transparent Depth and Transparent Node not working

I am trying to create a shader that renders visible when looking at it from behind another invisible object, and vice versa. However, when the object is supposed to be invisible, it renders a black ...
5
votes
2answers
445 views

Cycles shader colour: values above 1

A quick question about shader surface colour values in Cycles. If you set the surface colour of a shader to values greater than 1, for example the diffuse shader in the image below: Can it be said ...
5
votes
1answer
2k views

Is there a way to use Textured Solid without getting a Backface Culling effect?

I am trying to have a blender file using Blender 2.69 that allows you to look around and also see textures. Putting the shading on GLSL and turning on Textured Solid make the textures render great, ...
5
votes
3answers
24k views

How to import Downloaded Materials/Files?

This is an absolute beginner question, I'm hoping it's not to broad, I will attempt to narrow it down. I have just downloaded a handful of .zip files for several material packages (all for cycle ...
5
votes
1answer
751 views

Can a glass object be made to act completely transparent to only the object contained inside of it?

Say I put Blender's iconic monkey inside a glass sphere (hollow, but solidified around its exterior). All lamps and camera(s) are outside the sphere. Using Cycles. What I want to accomplish is for ...
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 ...
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 ...
5
votes
1answer
302 views

How to simply find the code/script behind the volume scatter node so I can see the math?

tl;dr I need help finding the code or OSL script for the volume scatter node. Not asking how it works, just a specific, noob-friendly instruction how to find it, or a link to it. Blender is big, and ...
5
votes
1answer
320 views

Which normal input socket should I use when I have a mix between shaders?

Since we have the option to use normal maps in Cycles via the normal input socket, this question frequently pops in my head: In the simplest mix, diffuse and glossy, should I connect the normal map ...
5
votes
1answer
220 views

Can the areas of an object in shadow be accessed in Cycles

In Cycles can I use the amount of shadow cast onto an object as a Fac. input of a mix shader? This would be useful for setting up a Frost / snow material that is visible in shadowed areas but has ...
5
votes
1answer
339 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
301 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 :) ...
4
votes
4answers
5k 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
1answer
1k 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
1answer
2k views

Polka dots shader

For a project i need to texture an irregular shaped object with equally spaced black dots and also with dots of different sizes, locations. The way it must be done is by the intersection of spheres ...
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 ...
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
578 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 ...