6
votes
Accepted
Posterize Node in Material Shader?
//EDIT: Okay, I actually didn't think of a much easier solution. The answer below is completely valid and working, but for the vector maths there is a shortcut: instead of upscaling the colors by the ...
5
votes
Accepted
Embossed logo on glass surface using displace node looks incorrect
The differences between your model and the one in the tutorial: first of all, he sets the Strength in the Displacement node to 0.03, yours is at 0.2 - that is almost 7× larger. It also depends on the ...
5
votes
Accepted
Grazing angle translucency bug artifacts?
What you are facing is most likely the terminator effect. It happens mostly when there is only 1 light source that hits some of the faces at a grazing angle:
https://blender.community/c/...
4
votes
Accepted
draw 3d shape (n-gone) in 3D view
Draw a alway on top n-gon in draw_handler 'POST_VIEW'
Please note that if the object position is not (0, 0, 0), you need to multiply the objects ...
4
votes
Accepted
How to create the scratches pattern from a mason jar lid
Your scratches in your reference image are more rare than in your material, you need to push both the needles to the right or left, and also make the color slightly darker to make the material a bit ...
3
votes
What's the shading algorithm behind Smooth Shading?
"Phong" and "Gouraud" are not always used consistently between sources. If we consider Phong shading to be a shading algorithm where the interpolation of vertex normal is used to ...
2
votes
Accepted
What's the shading algorithm behind Smooth Shading?
As phong uses interpolated vertex normals this is the method used checking the docs of the source code.
source: https://github.com/blender/blender/blob/01a2bd03695f217616acc2581fe8746f5cd226d7/scripts/...
2
votes
Accepted
How to change material propery based on color?
You should be able to apply math filters to the Hue of the color. White has a near zero hue:
2
votes
How to change material propery based on color?
This should get you started:
1 - color is 0 for white (if you are using a color other than white anywhere, check clamp in the Subtract node). Note that the roughness will be a number around 0.3 for ...
2
votes
Can I create this crumped paper shader on a curve?
You could sculpt a cylinder to make it look like paper (the hard part in my opinion) and parent your paper to an armature:
1
vote
Accepted
Why isn't my render looking like my object in viewport shading?
It looks to me that Viewport Shading doesn't use the Scene World which is used when rendering. Can you verify this by checking the dropdown menu next to the shading type icons in the upper right ...
1
vote
draw 3d shape (n-gone) in 3D view
Thank you X Y
You gave me an idea on how to simplify the code and apply it to multiple selected objects.
So what I do here: get faces from selected objects and retrieve triangles from them, and then ...
1
vote
Accepted
Blacks not showing up on my texture
Use Mix Blend Mode Instead of Add
You're currently using the Add blend mode on your mix node. Think of The black parts of the image as 0.0 and the colors underneath ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
shaders × 3222materials × 773
cycles-render-engine × 643
node-editor × 563
texturing × 558
rendering × 381
shader-nodes × 271
lighting × 264
eevee-render-engine × 186
modeling × 174
uv × 143
transparency × 143
mesh × 118
normals × 101
procedural × 100
python × 99
color × 87
3d-view × 81
shadows × 81
animation × 77
glass × 77
geometry-nodes × 74
scripting × 65
modifiers × 61
image × 57