Happenstance Posted June 30, 2018 Share Posted June 30, 2018 I'm trying to create a dust field using a bunch of textured planes that I want to orient to face the camera. I'm exporting the mesh from Blender and adding the BB:: prefix to the name so the DAE importer automatically sets it to billboard. In game, the mesh is invisible unless I disable billboarding (or enable Z-axis billboarding which works but isn't the effect I want). If I go into wireframe mode I can see a thin line where the mesh should be, almost like the code is turning the mesh on its side and I'm looking at it from one of the edges.I've tried everything I can think of - changing the 'up' axis on import, flipping normals, rotating the mesh before export... nothing seems to make a difference. Anyone have any experience setting up DTS billboards? Quote Link to comment Share on other sites More sharing options...
Happenstance Posted June 30, 2018 Author Share Posted June 30, 2018 (edited) Apparently using a plane (even double sided) is bad voodoo for billboards. Tried with a simple cube and things are working nicely.Edit: I see what's happening now. I rotated the plane in Blender but forgot to apply rotation before exporting so I actually was looking at it edge-on in game. The cube worked because it has depth so every angle was visible. Derp!@Duion - And thanks, I'd forgotten about being able to change billboarding in the shape editor. Made finding the problem easier. Edited July 1, 2018 by Happenstance Quote Link to comment Share on other sites More sharing options...
Duion Posted July 1, 2018 Share Posted July 1, 2018 Can you show your exact node setup? Billboards can be automatically generated for any shape in the engine in the shape editor. Quote Link to comment Share on other sites More sharing options...
Steve_Yorkshire Posted July 4, 2018 Share Posted July 4, 2018 Are you sure that your single plane was pointing the correct way? Needs to face along Y-axis, if it's facing another direction it will render from Y-axis so you won't see it (hence why a cube that faces all directions will always render the Y-axis face) Quote Link to comment Share on other sites More sharing options...
Happenstance Posted July 4, 2018 Author Share Posted July 4, 2018 Yep, that was it Steve. I'd rotated it correctly but hadn't applied the rotation before exporting so I was literally looking at the thing edge-on in the game. Quote Link to comment Share on other sites More sharing options...
Duion Posted July 4, 2018 Share Posted July 4, 2018 You can also use double sided materials, then the people on the other side also can see the billboard. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.