MackeyK24 Posted October 21, 2016 Share Posted October 21, 2016 Right now, if you use a shaderPath = "MyShader" ... With no path info... it will look for the shader as "/src/Shaders/MyShader.vertex.fx". That should load from the folder the .babylon file is in Just like textures... Right??? I think it would be MUCH easier if it did, JUST LIKE TEXTURES Can we fix that... I don't know where in the code that is happening Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 21, 2016 Share Posted October 21, 2016 Hello, you can set BABYLON.Engine.ShadersRepository = "your folder" to define where the shaders are Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted October 21, 2016 Author Share Posted October 21, 2016 Nice one Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.