Hot answers tagged

11

Fract returns the fractional part of a floating-point value, as described by @Merlin, but its treatment of negative fractional parts is not actually the same as Blender's implementaion of Modulo. If you want to see what a mathematical chunk of your shader tree is doing, it can be quite handy to make it generate a graph. Fract: This plane is 8x8 units, ...


6

Mathematically it should return the fractional part of the number i.e the non whole-number part, but the blender implementation is artistic in it's implementation. For non-negative numbers this is equivalent to using the modulo with a factor of 1.0 For negative numbers it is equivalent to using modulo with a factor of -1.0 The equivalent node setup of the ...


6

Here is how I would solve this problem. I would convert the texture into black and white using a color ramp in the node editor, where the water is black, and the land mass is grey or white (This is because white is the value pops out, black doesn't). You might need to make slight adjustments to the color ramp. (The noise texture in the demonstration should ...


5

A Fresnel node can be used as factor for a Mix Shader between a Transparent BSDF and Emission Shader, in order to achieve the glow at grazing angles. The Facing socket from the Layer Weight node allows to add a slight glow for the angles in between. Finally the Is Camera Ray output from the Light Path node is used to only show the emissive material to the ...


4

I think the Layer Weight gives rather good results, you use it as a factor between a black Diffuse and a white Emission. Put a bit of Bump into the Layer Weight if you need to give the surface some little details.


3

With the 'Separate XYZ' node, you're extracting the Z value of the Generated texture-space of the plane. That is 0 for all the plane's shading points, since the plane has no Z dimension. When plugged into the Vector input of the Voronoi node, that is implicitly cast to the vector (0,0,0). The Voronoi function is therefore being evaluated at (0,0,0) for all ...


3

I made the following observations from your reference image: The lighting isn't uniform, there appears to be a light shining from the right side Areas with little thickness appear brighter Therefore I'd suggest to use a translucent material with volume absorption. Light may pass through thin areas of the mesh, while it gets absorbed by larger volumes. The ...


3

Hex values are interpreted in the sRGB color space, while Blender uses a linear RGB color space internally. The conversion functions can be found on the sRGB Wikipedia page. The hex channel values themselves (0-255) should be divided by 255 before application of the formulas. A pure Python implementation looks like this: def srgb_to_linearrgb(c): if ...


3

It depends if you mean roughness as a 2D effect or 3D effect. For 2D roughness you can use a Noise (or this kind of texture) as a factor in a mix between a glossy and a non glossy material: For 3D roughness you need to plug a Noise (or this kind of texture) into a Bump node that you plug into the Normal sockets of your nodes. Here I've mixed 2 Noise ...


3

It looks like you're viewing this in "Look Dev" (also called "Material Preview") mode: That uses the realtime Eevee shader, even if you've selected Cycles as your main rendering engine. Click on the little sphere to the right of the selected one for "Rendered" view, and that will probably fix the problem. You can use transparency in Eevee, too, but it ...


3

I don't think the Blender Voronoi has access to quite the same parameter as the one illustrated. Typical shader-Voronoi is based on the distances between randomly placed points, one to a cell, in a regular grid of cells. I think the specific 'wobble' effect you show is based on smoothly varying the positions of those points within the cells, without moving ...


3

The glass optical properties are not relevant to what you're seeing in those images because scanning electron microscopes don't use light. Instead they detect electron emission. I think the piece you're missing is that electron emission varies with how "pointy" each part of the model is. One could try to model that using a properties output in nodes (cycles ...


2

If you make File > External Data > Find Missing Files you'll find your files but I don't know how to easily show their location. You could pack them all with File > External Data > Pack All Into Blend then unpack to another folder if necessary: File > External Data > Unpack All Into Files.


2

I think you need a simple circle (spherical)gradient, to control the transparency. Here a simple basic set up.You could add a math node before the ramp to control it, if the texture coordinate node is not enough.The texture could be, also,connected in the object space of the sphere,to let the transparency follow the object around


2

A similar range of effects can be created with shader nodes alone - (plenty of knobs to fiddle with to adjust it): The 'Mix RGB' node is being (ab)used as a convenience, to mix XYZ vectors. The 'Location' fields in the Mapping node are keyed. Not quite the same depth as your reference, but I'm sure it can be tweaked.. or if you don't mind being ...


2

For this effect, you have to first install the Animation Nodes + Extra Nodes because we need UV Map Data Output node (learn more). Idea: Distortion of image/movie coordinates in the material. Step-1: Add image/movie as plane using Images as Planes option of the Blender. Then, setup the material like this in the image (please note that the Generated and UV ...


2

Your issue is position of UV map. Tutorial (and you) are using UV texture coordinates, but your UV map is not placed in center of "UV Editor". Since you move the front part of eye in a center it matches. BTW instead of UV I would rather use Texture Coordinates type Generated (Loc -0.5 / -0.5 / -1) or easier type Object (Loc 0 / 0 / -1)


2

That's a beautiful node setting. I will try to explain some problem first: You shouldn't use emission shader for your output, if the output is Color and you want that color directly show on your screen, please directly connect the Color socket to Output Surface socket. This post elaborated more detail of color output setting What you mean too fast? Human ...


2

As I was throughly looking through preferences one last time lest I post a stupid question, it appears that the option is not related to node wrangler alone: it's a theme option for all node editors called "Noodle curving". So links are really called noodles.


1

He's in Eevee, maybe that setup works fine in Eevee, but in Cycles I think you need at least to mix your Principled BSDF (with 1.00 Transmission) with a Transparent BSDF node. There is a lot of solutions (like use Fresnel in the Mix factor, use Glossy, etc) but it will always be a mix with Transparent BSDF in my opinion.


1

You need the Node Wrangler addon. Just enable it in preferences, and you're done. Preferences->Addons and click the checkmark. Remember to Save Preferences. Restart Blender. Done.


1

Drive the default_value property of a particular input channel. >>> n = C.scene.world.node_tree.nodes.new("ShaderNodeMath") >>> d = n.inputs[0].driver_add("default_value") >>> d.driver.expression '0.5' >>>


1

This seems to be a Node Group. It is not a node by itself - rather a kind of a directory/folder. It contains a node tree, with different inputs and outputs. To enter or leave it press ⇥ Tab or the little top right arrow Inside of a node group. It is used to organize complex node trees, or sharing node trees across materials. You can also rename your ...


1

They are under Shader Hope that helps


1

This is the super-quick-and-dirty way to do it: Simply double click the value of the distortion and type #frame into instead of a number. Then press Enter. This automagically creates a frame based driver. The box will turn purple, indicating that it is being driven. If you want to modify it, just double-click the value box and edit as desired. Note ...


1

You can insert a keyframe directly on the node's distortion value. Just: hover your mouse over it, click 'I' (it should turn yellow) move to a later frame in your Timeline change the distortion's value in the node hover your mouse over the distortion socket and click 'I' again If you hit play, that should result in the distortion value animating over time. ...


1

The following code iterates through all selected objects and their respective materials found in the material slots. If a Principled BSDF node is found in the material, the Specular and Metallic properties are set to zero and links to Alpha and Normal are removed. Be aware that every material will be fixed that is present in the selected objects' material ...


1

to add the color to you texture, you need to combine the saturation and hue of the color texture, with the value of the grayscale. To do that you need a separate HSV and a combine HSV node as below. For the color the simpler is to just take one color from the texture with the color picker. However if you need the color variation, you can use a mapping node ...


1

I believe the AI/NN-based Denoise Node is new in Blender 2.81. Blender 2.81 is still in Beta / experimental development, so if you have the current stable version of Blender (2.80), you will not yet have the Denoise Node. You can download Blender 2.81 Beta under the experimental builds download section of the Blender page, if you'd like: https://builder....


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