deniz Posted September 22, 2011 Share Posted September 22, 2011 Hi everyone, I want to define and load my own vertex shader ("custom.vert") as part of my object's material file, but LE is unable to load it somehow. It gives a warning saying that it could not load the file although the file exists at the specified location. I am sure of the correctness of the vertex shader (I merely copied and pasted mesh.vert under custom.vert to make sure it works). What could be the problem? thanks, deniz Quote Link to comment Share on other sites More sharing options...
macklebee Posted September 22, 2011 Share Posted September 22, 2011 where is the file located and what is your registered abstract path? are you using 'abstract::custom.vert' for the shader? Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
deniz Posted September 22, 2011 Author Share Posted September 22, 2011 where is the file located and what is your registered abstract path? are you using 'abstract::custom.vert' for the shader? it is located in the same directory where the corresponding gmf file resides. Quote Link to comment Share on other sites More sharing options...
macklebee Posted September 22, 2011 Share Posted September 22, 2011 try placing the file into the shaders/mesh directory... seems to work fine then... Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
deniz Posted September 22, 2011 Author Share Posted September 22, 2011 try placing the file into the shaders/mesh directory... seems to work fine then... you mean in shaders.pak file? Quote Link to comment Share on other sites More sharing options...
macklebee Posted September 22, 2011 Share Posted September 22, 2011 you can do that or just in the unzipped version of that which i assumed you did when copied the contents of mesh.vert to custom.vert Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
deniz Posted September 22, 2011 Author Share Posted September 22, 2011 you can do that or just in the unzipped version of that which i assumed you did when copied the contents of mesh.vert to custom.vert yeah that worked just fine thanx 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.