Jump to content

Search the Community

Showing results for tags 'inverted'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi for all, i have this situation, do not know why my code for that material: function Nave(name, textureMat){ this.name = name; //after by constructor add the mes from .obj file. this.mesh ={}; this.material= new BABYLON.StandardMaterial(this.name+"_material", scene); this.material.diffuseColor = new BABYLON.Color3(0.8, 0.8, 0.8); this.material.specularColor = new BABYLON.Color3(0.05, 0.05, 0.05); this.material.invertU = -1; if(textureMat != null){ this.material.diffuseTexture = new BABYLON.Texture("texturas/"+textureMat, scene); } //...... } //in load of .obj file BABYLON.SceneLoader.ImportMesh("","", "naveTierraSolo.obj", scene, function (meshes) { naves[0].mesh=meshes[0]; carga.cargados +=1; naves[0].mesh.material = naves[0].material; //... }); naves[0] = new Nave("shipPlayer", "naveTierraSolo.png");
×
×
  • Create New...