²Digitalgames Posted November 13, 2015 Share Posted November 13, 2015 Hello, i am totally new to the Babylon.js scripting framework. My first question is, how can i change the value of alpha for an material on klick event. samplematerial.alpha = 0.3; seems to be a float , however, there is also new BABYLON.Color3 and new BABYLON.Color4 which can be changed on actionmanager code.Color3 is RGB and Color4 is RGB Alpha. So how can i change the alpha value ? Should i use color4 ? Here is what i have so far : http://www.babylonjs-playground.com/#1ST0I Also, i can´t figure out which of this code seqments do what or how they are named like. Like this things that are inside "example".I have to begin somewhere so i hope my first question isn´t that bad. Greetings and thanks in Advance Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.