Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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 :)

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...