Page 1 of 1

Editor bug

Posted: Sat Apr 01, 2017 2:47 pm
by BlueCrescentMoon
Something small, I'm sure it doesn't matter much but, when selecting a gem and then a block the block turns a pure white.This occurs only when selecting both objects, in that order.

Screenshot
[+] Spoiler
Image

Re: Editor bug

Posted: Sat Apr 01, 2017 4:41 pm
by Lewa
This will be fixed.
Seems to be a bug which overwrites the shader of the placement-preview model.

Re: Editor bug

Posted: Sun Apr 02, 2017 12:22 am
by BlueCrescentMoon
Mhm, just felt the need to show it off in case you hadn't noticed it. Any idea why it likes to do that, just curious.

Re: Editor bug

Posted: Sun Apr 02, 2017 10:26 pm
by Lewa
BlueCrescentMoon wrote:
Sun Apr 02, 2017 12:22 am
Mhm, just felt the need to show it off in case you hadn't noticed it. Any idea why it likes to do that, just curious.
It's good that you report such bugs. (You would be surprised what kind of bugs i miss and only find out about them from testers of the game.)
I found the issue.
Basically, the all 3D models of the selection preview (of blocks,the player startpoint, etc...) use a special shader in the render loop. The only exception are the spheres/hidden gems (they are now called "spheres" in the beta.). They have an own seperate shader. The bug was that after setting the shader from a sphere, it wasnt reseted to the default selection shader (and thus all selected blocks which were internally rendered after a sphere had this display bug.)