Ladies and gentlemen i would share a new plugin wip with you;
Here is 3 faces cubes plugin ; Using shadertoy renderer you can load 3 texture for each face
of Cube ... 3*2 = 6 face; or x,y,z and their oposite face x1,y1,z1 to make mario Cube easyly; (Not dice)
The picture size of each face must be POT format; Power of two;
like 4,8,16,32,64,128,256,512... sized picture;
Minifiyed ok;
Events commands
Loadimage1,2,3 no need those commands now; replaced by setimage1,2,3,4,5,6 for each face
, X Rotation, Y Rotation, Z Rotation and Set Zoom OK...
-- Passing variables to glsl uniforms like C2 Effects to Rotate cube X,Y,Z and zoom OK
*Firefox quantum : ok
*Chrome : ok
*Firefox dev edition : ok
live demo : http://gigatron3k.free.fr/html5/C2/plugin/3xcube/
old fx plugin : test version with example : http://gigatron3k.free.fr/html5/C2/plugin/3xcubep.rar
-----------------------------------------
new demo ;
http://gigatron3k.free.fr/html5/C2/plugin/3x2cube/
new 6 face fx plugin ;
http://gigatron3k.free.fr/html5/C2/plugin/3xcube.rar
After inserting 3xcube plugin on your project start like this :
* You can not see this fx in Editor mode;
Regards , Gigatron