All Questions
22 questions
1
vote
1
answer
22
views
In material nodes, can I use Texture Coordinate and vector math instead of drivers to copy rotation from an object?
I have a material that uses a rotation that I get with drivers from an object. This method works but I wonder if I can avoid drivers, by using some combination of the Texture Coordinate node that ...
1
vote
1
answer
51
views
What math is the "Vector Transform" node doing under the hood?
I found a tutorial for a parallax shader that starts with connecting the "Incoming" vector-output of a "Geometry" node to the input of a "Vector Transform" node with its ...
2
votes
0
answers
204
views
How can I get the light direction vector without the roll values?
From watching videos and looking at other posts, it seems like the common way is to just straight up copy the sun's rotation values for the light direction vector. However, this also copies the roll (...
0
votes
0
answers
86
views
How do I map a texture along a vector going from multiple objects to the camera? Is it even possible?
I'm trying to make a shader which has a procedural texture mapped along a vector between the camera view and the objects. Imagine the pink arrow as the vector in the picture below.
I was able to make ...
2
votes
3
answers
375
views
How do I automatically rotate and move a camera mapped texture?
I have this cylinder, I'd like the texture that has been projected onto it to move and rotate along with the shape. Here's a mockup of what I'm envisioning, made possible by animating the texture ...
1
vote
1
answer
133
views
What is the Exponent input of Voronoi’s Minkowski Distance?
Is the parameter “Exponent” of Minkowski Distance the p value of Minkowski Distance formula? Thank you!
2
votes
3
answers
895
views
Directional camera based shader
I've been trying to develop a camera based shader where half of the area of an object is in one color and the other half of is in another. It has to function the same way after a deformation, which is ...
1
vote
1
answer
158
views
How to Get Alternating Colors on Shader Blender
I am trying to get the lights in this image to alternate red - green - red - green, etc. Not sure what math I need to get that to occur in the shader. Currently I just have an object info node running ...
2
votes
2
answers
311
views
How to Turn a Cube into a Mathematically Precise Sphube to the Limits of Numerical Precision Using Vector Displacement?
A sphere is given by the graph of the equation $\lvert x\rvert^2+\lvert y\rvert^2+\lvert z\rvert^2=1$.
If you increase the exponents to something larger than 2, then the graph of the equation becomes ...
3
votes
0
answers
572
views
Dilate/Erode image in Shader Editor?
In the compositor you can dilate/erode an image based on pixel brightness, like this :
I'm wondering if there is a way to do the same in the Shader Editor (maybe with some clever vector math?).
I'm ...
0
votes
0
answers
204
views
How to set Euler rotation order in vector rotate node?
The vector rotate node has a Euler mode. My first problem is that it doesn't state what the Euler rotation order it uses. XYZ? ZYX? YZX?, which is it?
My second ...
4
votes
2
answers
348
views
What does a black and white texture look like after converting it to vectors?
Is my guess that I showed in the picture below correct?
If not, what's the best way to represent a group of vectors emerging from a black and white texture?
8
votes
1
answer
1k
views
What's the math behind Vector Rotate node?
I’ve been taught that the Axis input is the value for input vector n^ of the Rodrigues’ rotation formula:
v’ = (1-cos(θ))[(v·n^)n^]+cos(θ)v+sin(θ)n^×v
But I don’t understand what ‘’Center’’ input do. ...
1
vote
2
answers
203
views
Shading - How do I remove overlapping seams in X- and Y-direction while using vectors?
While trying to create a pixelated effect, I noticed that using vectors causes overlapping lines in x- and y-direction. As far as I can see, there is no good solution to create pixelated faces...
Has ...
2
votes
1
answer
406
views
How does the Mapping Node work?
I am wondering how the mapping node exactly works. The only thing I need to know, is what the individual Location, Rotation and Scale vectors, especially the Location vector, do to the input vector.
...
5
votes
1
answer
161
views
Vector Displacement not showing same result as the mask of it
So recently I decided to try vector displacement. I tried to make something simple, such as this shape. It's sort of a "gun shape", but I've ran into a problem.
I wanted to make an "...
3
votes
2
answers
488
views
How to set up Vector for a radial Voronoi Texture without a Texture Seam
does anybody know of a way to make a similar looking texture that scales from the centre outwards without having a seam (see picture)?
anything that produces a texture of some kind of cones that ...
1
vote
0
answers
237
views
Multiply to Combine XYZ vs Combine XYZ to Multiply
I was translating the object's origin by Vector Math node. Though I'm a bit confused of why feeding Multiply & Combine XYZ on a different order yields different results. I thought both vectors ...
2
votes
1
answer
205
views
How can I simply map a procedural gradient from the equator to the poles of a sphere?
I am struggling with something in the shader node editor that I thought should be rather simple, but apparently isn't. I want to map a linear gradient from the equator of a sphere towards the poles (...
9
votes
1
answer
903
views
Radial vector displacement
I'm struggle with vector displacement shader. I'm trying to do something like reverse cone but I can't figure out how to add radial direction. I would like to use RGB curves like screw (lathe) ...
2
votes
1
answer
339
views
How to show out of bounds texture from a modulo operation [duplicate]
Does anyone know how to show the cut parts?
I used a modulo operation with random coordinates and rotation for each cell, but when I try to randomly move them I get some parts of the texture getting ...
1
vote
1
answer
387
views
Replicating Cooktorr specular with Cycles vectors, almost there, but why vector is twisted?
I'm trying to replicate material shading from Blender Internal in Cycles, so long I managed to get Diffuse working correctly with Point Lights, a rather awkward but working sunlight/hemi node setup, ...