[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/3/ - 3DCG

Search:


View post   

>> No.978375 [View]
File: 1.15 MB, 6419x929, Compare node woe.jpg [View same] [iqdb] [saucenao] [google]
978375

>>978313
Okay, so I'm actually having a bit of trouble that I can't figure out.
I've used vertex colors on sections of a mesh with different values, (using 0, 0.25, 0.5, 0.75, and 1.0 as an example), with the idea that I could use the compare node to select those values. However, it's just completely fucking up and I don't really understand why.
Theoretically, I should be able to set the epsilon to 0, and select 0.5 for example, however it doesn't select anything. If I remove the Vertex color node and manually put the input to 0.5 it works (obviously). It also works with the vertex colors, but only if I select for 0 and 1. If I try to pick for the other values between those, they don't work.
I can raise the epsilon, but I have to raise it quite a bit to get 0.5 in the selection, and by then it also selects 0.75. In fact, it selects 0.75 before it'll select 0.5.

I had figured this might just be a case of me trying to select exact values, so I tried bumping up the vertex color from 0.5 to 0.55 (and also lowering to 0.45), but it still didn't work. Also tried changing the vertex color properties from byte data to color, and that didn't work either.

Hopefully pic related kind of illustrates what's going on. I don't wanna say "bug" but something is definitely going on.

Navigation
View posts[+24][+48][+96]