Questions tagged [shaders]

A shader is a computer program that 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
3
votes
1answer
6k 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
421 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
12k 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 ...
3
votes
1answer
9k 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
572 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
561 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
56 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
118 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
2k 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
689 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
139 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
869 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
3k 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 ...
2
votes
1answer
997 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
133 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 ...
9
votes
1answer
22k 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
286 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
373 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
791 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
606 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
627 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
3k 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 ...
2
votes
1answer
447 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
19k 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 ...
3
votes
3answers
2k 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 ...
1
vote
1answer
229 views

How to improve this rendering so it looks more like the target image? (Disaster) [closed]

I'm trying to replicate the following image using Blender: the image http://dl.dropboxusercontent.com/u/62862049/Screenshots/03k.png For this, I've used MakeHuman to generate a similar-looking human,...
1
vote
2answers
5k views

RC 2.7 Blender/Volumetric Shading Cycles

I went onto blender.org and saw a Release Candidate for Blender 2.7 came out. In the description it seems the long awaited volumetric shading in cycles has been released. From what it sounds like is ...
2
votes
0answers
499 views

How to do multi-pass rendering on customised shaders? [closed]

I'm using customised shader to achieve a specific aspect. I'm confused by the fact it is dealt with by the game engine, not the rendering engine (??), but my actual question is: how do I do multi-pass ...
4
votes
1answer
5k 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?
5
votes
1answer
343 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 ...
2
votes
1answer
344 views

Help with rendering shadows properly

Im pretty new to blender and am in a bit of a bind here. I have this distorted water simulation that i am attempting to make look like snow (not the best but it works for what i need it for) and i am ...
5
votes
2answers
597 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 ...
1
vote
0answers
1k views

Cycles SSS surface colour [closed]

I am looking at improving a characters Skin material node setup. Most of the Node setups I have seen for cycles, including the Arnold Skin port basically involve (not including gloss, bump etc) ...
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.
1
vote
2answers
357 views

volumetric shaders missing in blender 2.69

I have installed blender 2.69 and it says that volumetric shaders will be supported but i cannot find them. Do i have to download then as an add on?
0
votes
1answer
278 views

I'm trying to learn Blender to animate. Am I doing it right? [closed]

The idea of making 3D animations to tell stories has always been attractive to me. Yesterday, I decided to stop hesitating and began learning to use Blender. I am using the YouTube channel tutor4u's ...
6
votes
1answer
6k 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?
0
votes
0answers
30 views

Why do i get a strange black shadow when i smooth my mesh? [duplicate]

I finished the mesh but went i try to smooth it i got a rare black shadow : 3D viewport - no smooth 3D viewport - smooth Render - smooth Render - no smooth
2
votes
2answers
3k views

Cycles toonshader vs Blender Internal shaders

Is Cycles toon shader more accurate than Blender internal toon shader? I,m currently working on a Webcomic and would like to have my characters as 3D characters in a 2 tone cell shading style. This ...
2
votes
0answers
264 views

Get name of bgl_RenderedTexture in Python

I want to let the GPU create a mipmap for the framebuffer texture that's available as bgl_RenderedTexture in the custom filters. It shouldn't be difficult. I just put some code into the post_draw ...
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, ...
2
votes
2answers
3k views

Is it possible to simulate Fluorescence in cycles?

It it possible to create a fluorescence shader in cycles? From Wikipedia: Fluorescence is the emission of light by a substance that has absorbed light or other electromagnetic radiation. More ...
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 ...
2
votes
1answer
1k views

Compositing output image shading

Is it possible to control the shading via a node in the compositor? I would like to generate two output images, one which has material shading and one without any shading - just the colors from the ...
6
votes
1answer
996 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 ...
5
votes
1answer
324 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 ...
7
votes
2answers
3k views

Convert cycles closure (shader) output to colors?

Is it possible to convert the output of a cycles Shader node to colors? For example to use an ambient occlusion shader output to multiply or darken act as a mix factor between other shaders?