bGui not showing (Starting bGui)

Recommended Posts


I'm not sure what I'm doing wrong but I can't get bgui to show up in my scene.

I'm creating it within the createScene() function.

I've tried different variations of the code below, carefully following examples and documentation to no avail.

I know my texture is loading in fine, I tested it on a plane.

I noticed that bgui is creating a separate camera to display objects, maybe that's off?

Any direction is much appreciated.

gui = new bGUI.GUISystem(scene, window.innerWidth, window.innerHeight);

var head = new bGUI.GUIPanel("head", face, null, gui);
head.position(new BABYLON.Vector3(5,5,0));


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.