Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Terrain textures with more than 4096x4096 px #402963
06/12/12 21:15
06/12/12 21:15
Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
G
gameplan Offline OP
Member
gameplan  Offline OP
Member
G

Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
Hi,

is it possible to use bigger textures than 4096 x 4096 pixel for terrain? If I use images with higher resulution, the terrain is just black and the framerate is down.

Thanks


Version: A8 free
OS: Windows 10
Re: Terrain textures with more than 4096x4096 px [Re: gameplan] #402967
06/12/12 22:19
06/12/12 22:19
Joined: Aug 2008
Posts: 394
Germany
Benni003 Offline
Senior Member
Benni003  Offline
Senior Member

Joined: Aug 2008
Posts: 394
Germany
Do not use textures with this size! I'm not wondering why the framerate is down tongue just set as maximum 2048 x 2048 pixels. Elder graphic-cards do not support a higher size.

Re: Terrain textures with more than 4096x4096 px [Re: Benni003] #402968
06/12/12 22:23
06/12/12 22:23
Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
G
gameplan Offline OP
Member
gameplan  Offline OP
Member
G

Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
Okay, thanks, I didnt know that. Seems that I have to split my terrain, to achieve sharp textures.


Version: A8 free
OS: Windows 10
Re: Terrain textures with more than 4096x4096 px [Re: gameplan] #402969
06/12/12 22:27
06/12/12 22:27
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
or use a terrain shader wich supports multiple textures for one terrain ^^


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Terrain textures with more than 4096x4096 px [Re: Espér] #402971
06/12/12 22:34
06/12/12 22:34
Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
G
gameplan Offline OP
Member
gameplan  Offline OP
Member
G

Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
Thank you. But I am no programmer, so I dont have the needed skill to do this with terrain shaders.


Version: A8 free
OS: Windows 10
Re: Terrain textures with more than 4096x4096 px [Re: gameplan] #402972
06/12/12 22:43
06/12/12 22:43
Joined: Aug 2008
Posts: 394
Germany
Benni003 Offline
Senior Member
Benni003  Offline
Senior Member

Joined: Aug 2008
Posts: 394
Germany
You can do it in this way:
include the mtlFX.c in your project. Then you have to allocate the action fx_terraintex to your terrain. The terrain should have some textures with alphachannel. A texture size with 512x512 pixels is very good for this!! You can also set the detail_size variable in your code to set the texture resolution.
And one thing.. every texture needs one renderpass. Many textures can kill the framerate. just try a little bit out.;) Make the texture size small as possible. I am using 256x256 pixels for my terraintextures.


Last edited by Benni003; 06/12/12 22:45.
Re: Terrain textures with more than 4096x4096 px [Re: Benni003] #402973
06/12/12 22:52
06/12/12 22:52
Joined: Apr 2007
Posts: 141
Germany
Timothy Offline
Member
Timothy  Offline
Member

Joined: Apr 2007
Posts: 141
Germany
Your signature says that you are using the free edition - therefore you can't use shaders. I wonder why nobody noticed.
Most likely you will have to split your terrain.

Re: Terrain textures with more than 4096x4096 px [Re: Timothy] #402975
06/13/12 00:02
06/13/12 00:02
Joined: Nov 2011
Posts: 274
de
lemming Offline
Member
lemming  Offline
Member

Joined: Nov 2011
Posts: 274
de
mtl_terraintex is fixed function, so no shaders needed. I use it with the Extra edition.


Moderated by  HeelX, rvL_eXile 

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