Qubicle Imports not colouring correctly

0
youg3 posted this 27 April 2019

Hello there!

So I've been messing around with PicaVoxel and getting to terms with the new features that it's brought to my Unity project but one of the key issues I'm having is colour.

With my OBJ imports where I set the texture file to no compression and the shader to Standard, I get the result I'm trying to achieve (right tree). With the direct QB (middle tree) or QBT (left tree) imports, the colours take on a washed out appearance in comparison:

I've tried setting the Material to any of the included materials but can't figure it out. What am I missing here?

Screenshot of the issue

4 Comments
Order By: Standard | Newest | Votes
1
GarethIW posted this 27 April 2019

This could be the difference between gamma and linear color space, which is something I've only recently discovered.

If you're on linear, change to gamma and it should fix it as a workaround.

I need to put out a gamma to linear colorspace shader as a proper fix.

0
youg3 posted this 27 April 2019

Gareth,

You're a fantastic dev especially with your activity in the Forums. Easy solution and now I can use the awesome self-shader with my models.

Finally, I've noticed that the generated Hitbox doesn't actually do anything. What I mean is that when testing by dropping a Unity created box onto the model (the image above shows these boxes shattered around) at play time it simply falls through the model with no collision at all. Do I have use the Mesh Collider for this and if so, what's the hit box for? Deleting it results in some errors.

1
GarethIW posted this 27 April 2019

The hitbox on the volume is a trigger for the editor stuff. You would either want to add your own simple capsule or box collider to the volume, or use the mesh collider generation if you need more accurate collisions.

0
youg3 posted this 27 April 2019

Sweet! Thanks for the quick answer once again!


Our 137 members have posted 527 times in 128 discussions