godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.1k stars 21.18k forks source link

Billboard mode doesn't work for spatial materials #28054

Closed mryannisp closed 5 years ago

mryannisp commented 5 years ago

Godot version: v3.1.stable.official

OS/device including version: Windows 10 v1803

Issue description: Billboard mode for spatial material doesn't work preview

clayjohn commented 5 years ago

Can you try this with a quadmesh? Im not sure this is a bug. Im not at a computer now, but from what i remember billboard makes the Z-direction face you at all times. So you would be looking directly at the edge of the PlaneMesh and wouldnt see anything. Which is expected behaviour. But with a quad mesh the flat side should always face you.

mryannisp commented 5 years ago

Can you try this with a quadmesh? Im not sure this is a bug. Im not at a computer now, but from what i remember billboard makes the Z-direction face you at all times. So you would be looking directly at the edge of the PlaneMesh and wouldnt see anything. Which is expected behaviour. But with a quad mesh the flat side should always face you.

You're right, I had to change the mesh from plane to quad. Still, I thought billboard mode would work with any kind of mesh.

clayjohn commented 5 years ago

It does! Which is exactly why you cant see it. The PlaneMesh doesnt have any depth.

mryannisp commented 5 years ago

I see. Then I guess this is not a bug, so I'm closing this issue. Thank you