Original Post
Ok, after working out how to load models and do shadows my next task is to improve the look of my program with shaders...this all seems good, and ive been playing around with RenderMonkey for a while now - but theres one problem: once i have a *.fx file how do i apply it to a mesh? there is an effect instances variable on the D3DXLoadMeshFromX function - is this where i need to look? I dont think it is because i have the shaders in a different file. I tried googling but all the tutorials seem to teach you to make shaders - not apply them, and the directx SDK doesn't seem to have a good demo of loading a *.fx file, i expect its just because the answer is so obvious that it seems silly to show you how....but i still don't get it... thanks for your help - Jorj