Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, TipmyPip, AndrewAMD), 1,209 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Switch for A7 to A8 Terrain Shader issue [Re: Aquilis] #407439
09/13/12 08:35
09/13/12 08:35
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
There was an old A6 shader named terraintex3.fx. The terrain shader in A7 and A8 has the name terraintex.fx (without the "3").

Re: Switch for A7 to A8 Terrain Shader issue [Re: jcl] #407471
09/13/12 14:29
09/13/12 14:29
Joined: Aug 2012
Posts: 14
Aquilis Offline
Newbie
Aquilis  Offline
Newbie

Joined: Aug 2012
Posts: 14
Hmm.. On A7 and A8, when I open the mtlFX.c, at line 494 there's a mtl_terraintex3 material and fx_terraintex3 action. That's what I use. It worked fine on A7, but when I shifted my game to A8 and compiled the code, the shader doesn't appear already. It's rly weird, cuz I didn't change anything - the action is attached to the terrain, the skins are in the folder, the terrain skin_1 is the RGB map...

Re: Switch for A7 to A8 Terrain Shader issue [Re: Aquilis] #407485
09/13/12 16:17
09/13/12 16:17
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The original A6 terraintex3 shader can't work anymore because model 1 pixel shaders were abandoned by Microsoft long ago, I believe in 2007. So, first check if you're really using the compatibility version that was included in A7, and not still the original A6 version. All A7 shaders used model 2, so they should work unchanged in A8.

Apart from that, I don't know what the problem might be - you can contact Support and send them the project for looking into. The best solution, of course, it to switch to the current terrain shader.

Re: Switch for A7 to A8 Terrain Shader issue [Re: jcl] #407502
09/13/12 23:15
09/13/12 23:15
Joined: Aug 2012
Posts: 14
Aquilis Offline
Newbie
Aquilis  Offline
Newbie

Joined: Aug 2012
Posts: 14
Yeah, seems like my main script has been compiling with the old mtlFx shaders...
It's a little bit silly, but that's the bad thing of having old versions of the engine on the same OS...
When I copied the mtlFx.c from the A8 folder into my project's folder it worked fine.

Thanks, JCL for help.

Page 2 of 2 1 2

Moderated by  jcl, Nems, Spirit, Tobias 

Gamestudio download | chip programmers | 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