dcversus Posted May 21, 2015 Share Posted May 21, 2015 HiI'm new in babylonjs. Recently I encountered a problem while creating the game. I create a model in blender and export this to .babylon format, all works fine, but when I want to add a reflection (in water) to this model game fails this error:babylon.2.0.js:4 Uncaught TypeError: Failed to execute 'uniformMatrix4fv' on 'WebGLRenderingContext': No function was found that matched the signature provided.Water init code (i use water from WORLDMONGER) water = BABYLON.Mesh.CreateGround("water", 1024, 1024, 1, scene, false); var waterMaterial = new WORLDMONGER.WaterMaterial("water", scene, light); waterMaterial.refractionTexture.renderList.push(ground); waterMaterial.reflectionTexture.renderList.push(skybox); water.visibility = 0.5; water.material = waterMaterial;After adding my mesh (after it loading)water.material.reflectionTexture.renderList.push(players.meshModel);In attach model that I use. In advance thanks. footman.zip Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.