Hot answers tagged

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 ...
Gordon Brinkmann's user avatar
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 ...
Gordon Brinkmann's user avatar
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/...
Frederik Steinmetz's user avatar
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 ...
X Y's user avatar
  • 5,327
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 ...
moonboots's user avatar
  • 145k
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 ...
Nathan's user avatar
  • 21.1k
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/...
Andrea Leganza's user avatar
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:
james_t's user avatar
  • 5,072
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 ...
Frederik Steinmetz's user avatar
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:
moonboots's user avatar
  • 145k
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 ...
falk's user avatar
  • 77
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 ...
APEC's user avatar
  • 570
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 ...
Fletcher Graham's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible