just include the script and use my.material=fx_water_env;
Last edited by bomber; 02/19/0813:13.
"I don't know what the facts are but somebody's certainly going to sit down with him and find out what he knows that they may not know, and make sure he knows what they know that he may not know." ————Donald Rumfeld
Re: How to use mtlFX shaders?
[Re: bomber]
#184569 02/26/0809:5602/26/0809:56
I've also copy the "mtlFX.c" to my working folder but still not work, my model shown in black color.
I've tried to rename my model to "marine.mdl" and copy it to ..\project\shadertest\ directory and it work perfectly, so I think it isn't a bug, am I missing something? I remember it works in previous version.
Anyone have a glue?
Thanks.
Re: How to use mtlFX shaders?
[Re: vlau]
#184570 02/26/0813:0402/26/0813:04
I use mtlFX.c for terrain only, and I tested the water and post processing shader collection are OK. But same as you I fail to apply those shader on model and level block, the model and level block just dark. I guess those shaders are not design for sunlight so I found another shader and use external .fx for models.
I think in 7.08 everything will become simplify.
Re: How to use mtlFX shaders?
[Re: vlau]
#184571 02/26/0813:4202/26/0813:42
If you start with the A7_lite_C_project template you can use the mtlfx.c with in WED just as you would an A6 project, I got the shaders to work, but it’s not backwards compatible with the other scripts , at least in my tests. Although you could do your own programming to get things working, I haven't got that far.