#[Resolved] VERTEX vs UV
8 messages · Page 1 of 1 (latest)
The same thing happens with NORMAL.
Here's a simple demonstration of what I mean:
shader_type spatial;
void fragment() {
ALBEDO = VERTEX;
ALPHA = 1.0;
}
Just move the camera around and watch the colors change.
could be that it is a difference between world coordinates and screen coordinates. Vertex does indeex represent the vertices "corner points" of the mesh, all of them in fact.
I feel like there is some info missing here however
yeah Vertex is in view space so it likely needs to be transformed to world space
if you want the color to simply depends on the position of the node in the world, you can use NODE_POSITION_WORLD
I see, thanks.