shadowmap_nv.fxh missing / Tutorials on DirectX shader for 3ds Max?

shadowmap_nv.fxh missing / Tutorials on DirectX shader for 3ds Max?

Anonymous
Not applicable
573 Views
0 Replies
Message 1 of 1

shadowmap_nv.fxh missing / Tutorials on DirectX shader for 3ds Max?

Anonymous
Not applicable

Hi all

 

I was trying out the directX shader material in 3ds Max 2015, and noticed most directX shader material cannot receive shadows -- I opened the .fx file and indeed saw there was no code to calculate the shadow, so this is expected. I then tried the SimpleShadow.fx included in the 3ds Max 2015/maps/fx directory but it still does not show shadows. I inspected the code and found that the vertex shader is missing, and that points to a "shadowmap_nv.fxh" file which is not on my harddisk.

 

SimpleShadow.fx Line 23 reads:

#include "scene\shadowMap_nv.fxh"

 

Is anyone could help finding this file? I know the examples are PROVIDED AS IS AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES but still.....this looks like the only shadow example in 3ds Max 2015.

 

Also, if there is a tutorial about how to write HLSL for 3ds max that will be even better! I've read through the documentation articles, but it pretty much only talks about how to use directX shaders, not how to write them...

 

One way poped up in my reading seems to be write a C++ plugin for a customized material. I'm still struggling with combaining that part of knowledge with HLSL and directX shaders though...

 

thanks.

0 Likes
574 Views
0 Replies
Replies (0)