Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,633 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
problem with MtlFx.c #287874
09/02/09 23:10
09/02/09 23:10
Joined: Jul 2009
Posts: 96
M
mEnTaL Offline OP
Junior Member
mEnTaL  Offline OP
Junior Member
M

Joined: Jul 2009
Posts: 96
code:

.......
#include <mtlFx.c>;
.......
.......
action test_object()
{
set(my,POLYGON);
me.ambient=-100;
my.material=mtl_parallax;
}


afterwards i compile my main script, run it and engine crash.
So can you guys correct my "masterpiece" or explain how exacly to use the power of MtlFx.c
Thx

Oh, I forgot to mention that in my level sun_light=0; and there are only dynamic lights

Last edited by mEnTaL; 09/02/09 23:13.
Re: problem with MtlFx.c [Re: mEnTaL] #287915
09/03/09 08:27
09/03/09 08:27
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Check the manual under "Predefined Surface Shaders" in the manual.
Do you have all the required skins, of the required type, for that shader?
(I cant help, I never use the built-in shaders)

Hope this helps out some...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: problem with MtlFx.c [Re: EvilSOB] #288062
09/03/09 21:00
09/03/09 21:00
Joined: Jul 2009
Posts: 96
M
mEnTaL Offline OP
Junior Member
mEnTaL  Offline OP
Junior Member
M

Joined: Jul 2009
Posts: 96
I'll check it out, thx


Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1