Jump to content

Search the Community

Showing results for tags 'shader repositoty'.

  • 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. Hello Guys, I am developing a game with Angular2 and Bablyon.js. So far no problems, but I recently used the Water material and I couldn't add it to my mesh : var waterMat = new BABYLON.WaterMaterial("waterMat", newScene, new BABYLON.Vector2(512,512)); waterMat.bumpTexture = new BABYLON.Texture("assets/scenes/home/img/water.png", newScene); water.material = waterMat; //water is a plan mesh I downloaded it from the Babylon.js Generator, and when I the console told me : "Unable to load src/Shaders/water.vertex.fx" I tried to change the Shader Repository, but it didn't change the error. So I assumed it' not linked to that. BABYON.Engine.ShadersRepository = "../Shaders"; I tried with a stand-alone project, and it worked perfectly. I have no idea where the error come from, and where to add this "water.vertex.fx" file ... BTW : I import my BABYLON with require in node_modules. Thank you for your help =)
×
×
  • Create New...