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.
331
questions with no upvoted or accepted answers
7
votes
4answers
893 views
How do I color the shading of a material?
Some art styles increase the saturation in their shading, I'm trying to achieve this effect as seen in cell #2 of my example image. Right now it looks like cell #3, which lacks this and looks dull in ...
7
votes
0answers
1k views
Does a model exporter embedding materials as GLSL scripts exist?
as described in Blender Shader in OpenGL/GLSL, it is possible to export the (unoptimized) GLSL code generated by Blender for a given material.
Since the viewport can use such GLSL for real-time ...
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
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
0answers
43 views
texture mapping without texture being mirrored on other side of object
I have a cylinder I want to map a texture to.
To specify the location of the texture I use an empty.
In the material node editor I then use the object function of the texture coordinate node and ...
3
votes
0answers
91 views
Procedural Materials On Fluid Simulations
Been struggling with this for a while. I've made a procedural lava shader and I want to put it on a fluid sim. The problem is, all the mapping methods I've tried make the fluid travel through noise ...
3
votes
0answers
108 views
First attempts with SSS - where is the nose?
I am trying to make the skin for my female mesh and watched some tutorials on Skin Shaders. I tried to rebuild YanSculpts Tutorial https://www.youtube.com/watch?v=ktsyL2Kp5bQ&t=388s and the result ...
3
votes
0answers
437 views
I want to convert my Diffuse Shaders to Principled Shaders
I just barely imported a scene from an .obj file, but all 83 materials defaulted to Diffuse Shaders of various colors.
To make for a faster workflow, could I use a python script of some sort to ...
3
votes
0answers
61 views
What is the significance of the value of the limit on the roughness attribute of the Oren Nayar shader?
In exploring the settings of the Oren Nayar shader in the Blender internal rendering engine, I find that there is an upper limit of 3.14 for roughness.
Is this the constant Pi?
Why is this the ...
3
votes
0answers
510 views
How to set up SSS on cycles for efficient rendering
How do I set up SSS shaders properly to render efficiently in animation projects. Are there any specific optimizations to consider?
I am trying to render some orange juice in a bottle and getting ...
3
votes
0answers
213 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.
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 ...
3
votes
2answers
802 views
Is there a way to manually control vertex/face normals to get a more consistent toon shader?
I watched this video about the art style of popular fighting game Guilty Gear Xrd, and something which really interested me was the method that the artists used to get rid of ugly automatic-normal ...
2
votes
0answers
27 views
Image Texturing - Using cycle's nodes to scale image texture and randomly rotate them
Is there a way to randomly rotate an image texture randomly and keep its mapping scalable? Im sure this has already been asked but can't seem to find it. If someone can redirect me to the appropriate ...
2
votes
0answers
19 views
Why Transparent BSDF blocks reflections of Principled BSDF? (Cycles)
I wanted to share an issue related to Cycles shaders I don't really know how to face.
I am rendering a honey pot. Nothing crazy about this. But when I tried to add the sticker I noticed some ...
2
votes
1answer
66 views
Does the Principled Shader IOR value effect specular reflection on a transmission material
Other render engines have two IOR values - one for refraction, and one for reflection. But in Cycles there is only one and documentation states it only affects refraction.
Yet with transmission set ...
2
votes
0answers
46 views
How is it possible to make a procedural snakeskin texture?
I've seen some posts like this one showing snakeskin procedural textures.
How is this possible? From what I've gleamed on reddit, a voronoi texture is used here? How would you morph that texture into ...
2
votes
0answers
77 views
Toon Shader Programming/Noise Generation/Line Coloring
EDIT: A LOT OF IMPROVEMENTS
The file:
The output will look something like this (but in color):
(Mickey & the ship's wheel are cel objects, and the ship & grass are background objects)
CEL ...
2
votes
0answers
41 views
How to externally control the look of volume material?
The effect that I want to achive looks like this:
The problem I have is with that colorful cube with controllable color gradient. The cones and planes can be ingnored. I have achived similar result ...
2
votes
0answers
110 views
Python Mix Shader Diffuse BSDF Glossy BSDF Nodes
I am trying to create a plane object in python that uses a mix shader with the first shader being a Diffuse BSDF Shader, color black, roughness 0.200 and the second shader being a Glossy BSDF shader, ...
2
votes
0answers
32 views
How to get gradient material to work with rig?
I've got a lil character i'm making that uses some gradient materials, but I don't know how to make the gradient move with the deformations.
as you can see, the gradient doesn't move with the ...
2
votes
1answer
72 views
Add a transparent image on top of a material [duplicate 2]
I read the answer on the link on how to add transparent images on top of materials (Add a transparent image on top of a material ). This works beautifully in v2.79b.
This technique does not seem to ...
2
votes
0answers
46 views
Dynamic paint waves: How do I change color of
I'm new to blender and love the dynamic paint waves function. I'm wondering if anyone knows how to change the color of a material based on movement of the ripples simulated on the canvas layer. sort ...
2
votes
0answers
136 views
Cycles Light Linking: Getting hard shadows on a single object, and soft shadows on another
As the title states, I'm trying to get one object to take hard shadows from a very small Area, Sun, or point light, while in the same scene as another object which will take soft shadows from a very ...
2
votes
0answers
140 views
Smooth shading faceted when using bump/normal
I noticed smooth round surfaces get faceted when I apply normal/bump map onto them, without normal/bump they are smooth. Does any one have a solution for this besides increasing subdivision?
1. ...
2
votes
0answers
232 views
Occlusion material (holdout) in Cycles
I am looking for a way to occlude one cycle´s material against another like when we setup the render passes from the passes property for the scene in a "holdout" mode.
Think 2 spheres over a plane. ...
2
votes
0answers
69 views
Real World Roughness Samples in Blender
TLDR: We've developed a method to measure a surface's microfacet distribution, and are looking for a way to integrate this in a Cycles shader. For more info, see this paper.
Hi all,
Together with a ...
2
votes
1answer
167 views
Can I only Render light that psses through an object?
In the image below I would like only the light that passes through the sphere, in this case the bright dot in the center, to be visible. Is there a way to set this up in cycles?
Thanks,
Tyler
2
votes
0answers
130 views
Faking HDRi Reflections with an orthographic camera
Is it possible to fake perspective reflections of a HRDi in a scene with an orthographic camera?
As reflection rays are parallel on flat surfaces, every face of a glossy object has a uniform color ...
2
votes
0answers
342 views
OSL: Parallax Occlusion Mapping
I just want to know if this osl file, for a 3ds max, works in blender cycle.
link: http://www.racoon-artworks.de/?p=773
osl:http://www.racoon-artworks.de/DownloadableScripts/...
2
votes
0answers
106 views
Scene lighting and setup: how would you get such a render?
Just for fun, i'm trying to recreate a scene from the (nice) movie Cherry 2000. Here's a link to the clip.
I like the aesthetic, but I can't figure out how they did setup their scene; and that's ...
2
votes
0answers
359 views
Normal Map difference in blender and other soft
I created a low poly object, and a high poly object (beveled).
We bake the normal map in Blender. When displayed in Blender it works well, but in other programs (3ds Max / Substance Painter) the low ...
2
votes
0answers
433 views
Using the output of the shader as a masking factor in the cycles?
I use the output of the material(shader) as a masking factor in the Blender Internal renderer.
I tried to do the same in Cycles but it didn't work.
Is it possible to use only texture or input nodes ...
2
votes
0answers
88 views
Script node to affect photons on cycles?
To my understanding, cycles works by simulating photons. I would like to create a custom shader to put on the inside of a sphere that takes any photon that hits it and moves it to the opposite point ...
2
votes
0answers
940 views
How does “distance” effect ambient occlusion?
In Blender Cycles, there is a distance option for Ambient Occlusion in the World tab.
How does the distance option affect AO? What does moving the distance closer to zero do? What does increasing ...
2
votes
0answers
327 views
How do I set a material in renderman to use a specific UV map?
My model has 4 separate UV maps for the head, arms/hands, legs/feet, and body. But i can't find a UV map node equivalent in Renderman.
After converting the node setup to Renderman, it doesn't have a ...
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 ...
2
votes
0answers
384 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/...
2
votes
0answers
523 views
Glossy Text shader material on soft toch paper
I can't get the right shader material for text like this:
I've used a texture uvmapped on a plane, with alpha channel, and assigned two shaders one Glossy and one Glass with IOR of 1.406 (plastic) ...
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,...
2
votes
0answers
256 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 ...
2
votes
1answer
202 views
Cannot light portions of object with point light
I am setting up a simple scene with only a single object, a truck, and a point light. It seems that regardless of where I put the light, the hood (among other portions) of the truck won't be lit. Here'...
1
vote
0answers
17 views
change color ramp hue using nodes?
i was hoping someone could tell me how to change the color of a color ramp using other connected nodes.
the second image does it almost right but the color of the whites from the color ramp are only ...
1
vote
0answers
37 views
Procedural material broken in 2.81
How it's meant to look^
I downloaded this wonderful procedural shader setup by Elbriga, which has worked fine in Blender 2.8 – but when I got the new 2.81 version the material preview is broken for ...
1
vote
0answers
44 views
Creating text on paper?
Edit: This is not a duplicate of How do I put an image texture on a material in Cycles? because that question only seems to talk about adding an image texture, not combining an image texture with ...
1
vote
0answers
16 views
Black/White Opacity Mask transparent in Blender 2.8
I have two textures: Diffuse and a Black/White opacity map. It's used for the eyebrows. The way the shader is setup the eyebrows are just a completely brown plane. How do I hook up the B/W opacity map ...
1
vote
0answers
23 views
Outline Eevee Shader with Transparency
Hi, I'm using the solidify modifier with backfacing in the material Editor to create a real-time shader in Eevee. It works great for solid materials. But with Transparency materials, since it's ...
1
vote
1answer
42 views
Eevee NPR transparency
I feel kind of dumb, it seems like this should be relatively simple. I'm trying to make one level of my NPR shader transparent. I've attached a screenshot to show what I'm trying to do.
1
vote
0answers
33 views
Why does the color on the object not match the color set in the material?
When I use shader in blender. I find it's hard to set a color to object. Just like the picture shows, the output color will change.
Is there something worry in my setting?
Or. What should I do?
1
vote
0answers
19 views
Problem with procedural eyes in blender 2.8
Ok so i'm having a little bit of a problem with procedural eyes
here you can see them normally
but notice that one eye has more red than the other eye
so i tried do fix by separating the meshes
...