Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi niko i am vangelis with dragonfly project? I am trying to do it myshelf so i'm gonna need help.So to start questions can you give me a code example on how to load a ccbjs file in to coppelicht dynamically? And if it's possible a phong with texture fragment vertex shader that copperlicht can read? Thanks in advance |
||||
|
All tutorials show how to load a .ccbjs file, the simplest way is to do var engine = startCopperLichtFromFile('3darea', 'copperlichtdata/yourfile.ccbjs'); But you can also create the engine manually like var engine = new CopperLicht('3darea'); and then call engine.load('yourfile.ccbjs') to load it. About shaders: Sure, see for example this tutorial http://www.ambiera.com/copperlic... |
|