This question is for the mapping pros or possibly ANDY_RE and will be VERY TECHNICAL in nature. Skip it if you are not a major nerd.
When making a map you select a palette of textures to paint the ground with. You can have many textures in the palette. When Relic draws the map, they divide it into 32 meter sections (chunks). Each chunk approves of around 8 textures being used per chunk. Many mappers are sloppy and paint like an artist. They tend to overlap chunks. Meaning, they paint a texture in chunk 1 but a little spills over into chunk 2. Chunk 2 now has to draw that texture even though it is barely/not visible. This could lead to slow rendering performance depending on HOW relic draws the chunks.
NORMAL TEXTURING MODE
Normal 3D graphics would indicate that the chunk gets split into a smaller say 32x32 grid. Each vertex of that grid is alpha blended and drawn using the textures you painted with. So if you used the maximum desired textures for this chunk you would have 24 total textures to deal with:
- 8 Diffuse textures
- 8 Normal map / height map textures
- 8 Specular map textures.
This would indicate that each chunk/mesh is drawn 8 times. Once per texture selected. This assumes code using shaders that does one pass for each texture (actually applies diffuse, normal, specular during the single pass). With modern cards having more texture units or better shader code maybe this number is reduced to only a few passes for each chunk.
Now you have to render all of the splines and splats in addition to all the rendering you just did.
Example Chunk Count for Lienne Forrest
MEGATEXTURE MODE
A name coined by John Carmack (the greatest human being of all time) for the game RAGE. In this mode you can paint a million different textures all at once. Splines, splats, etc can all be applied as much as you want. When the map is compiled, the 32x32 meter chunk is rendered into a single set of Diffuse, Normal, Specular textures. These textures would be of a fixed resolution 512x512, 1024x1024, etc.
This means that no matter how much crap you throw on the map, the 32x32 chunk will be rendered in one single pass by the videocard. This includes all splines, splats, etc. All done in one pass.
The trick becomes how well does the videocard deal with caching all the textures, etc.
QUESTION
Which method is Relic using? Does it matter for performance how many tile textures per chunk are used? I see SO MANY maps that have 8 textures used and can be reduced down to 3 or 4 with NO visual change.
The limit of 8 textures could be set just for Worldbuilder performance where each chunk has to be drawn seperately while you are editing on the fly. Since Relic needs to apply a lot of dynamic splats during the game (burn marks, artillery strikes, blood, etc) they may just do it all on the fly in what I have called NORMAL mode.
TILE CHUNK COUNTS in a map
9 Jul 2018, 19:18 PM
#1
Posts: 2145 | Subs: 2
9 Jul 2018, 19:34 PM
#2
Posts: 2145 | Subs: 2
For you nerds, like me, that are interested here is an ID SOFTWARE example texture:
There are more textures that can be used to create a final quality render but these are the basic ones. Just to show that each 32x32 chunk could actually be rendered 24 times if unoptimized.
If you are getting 30 FPS on your laptop imagine reducing the renders down to 8 times? Maybe you would get up to 40 FPS?
There are more textures that can be used to create a final quality render but these are the basic ones. Just to show that each 32x32 chunk could actually be rendered 24 times if unoptimized.
If you are getting 30 FPS on your laptop imagine reducing the renders down to 8 times? Maybe you would get up to 40 FPS?
9 Jul 2018, 23:55 PM
#3
Posts: 2145 | Subs: 2
Quick personal testing on a map showed no change in FPS from 3 textures per chunk to 8 textures per chunk.
10 Jul 2018, 07:21 AM
#4
Posts: 1534 | Subs: 1
I'm not a techie but at a guess I would say it is to do with the blending limit, and unless there are safe guards in place, it shouldn't matter when painting.
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
20 | |||||
13 | |||||
10 | |||||
1 | |||||
263 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.35057.860+15
- 3.1110614.644+11
- 4.639230.735+2
- 5.276108.719+27
- 6.306114.729+2
- 7.921406.694-1
- 8.262137.657+3
- 9.722440.621+4
- 10.17146.788+1
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1237