Created
December 15, 2016 21:05
-
-
Save RdlP/5ffe6131c2a1d96ff1a69cfdc6b495ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
earthMaterial = new AL3D.BlinnMaterial({shininess : 128, diffuse : 0xFFAAAAAA, specular : 0xffffffff, shading : AL3D.PhongInterpolation, texture: './res/color-map.jpg', specularMap: './res/specular-map.jpg', normalMap: './res/normal-map1.jpg'}); | |
earth = new AL3D.Mesh.createSphere({radius: 1, height : 2, material : earthMaterial}); | |
earth.position = new ALMath.Vector3(0,0,-2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment