Parallax Map – Arma 3
Lou Montana (talk | contribs) m (Lou Montana moved page Arma 3 Parallax Map to Arma 3: Parallax Map: Text replacement - "^Arma 3 " to "Arma 3: ") |
Lou Montana (talk | contribs) m (Text replacement - "er then " to "er than ") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
The technology shouldn't affect vehicles at all, it is for the terrain and its surfaces. | The technology shouldn't affect vehicles at all, it is for the terrain and its surfaces. | ||
===Why did we upgraded a ground parallax technology=== | === Why did we upgraded a ground parallax technology === | ||
New parallax technology: | New parallax technology: | ||
Line 10: | Line 10: | ||
* Bigger range of height / depth of the effect (1:0.0325) | * Bigger range of height / depth of the effect (1:0.0325) | ||
===How prepare a texture for improved parallax technology=== | === How prepare a texture for improved parallax technology === | ||
Normal map textures contain different information in RGB and Alpha channels: | Normal map textures contain different information in RGB and Alpha channels: | ||
Line 33: | Line 33: | ||
For parallax map height of effect is calculated by a coefficient. This coefficient is 1:0.0325, which means if your ground image has size 3 m in the game (3x3 m tile) your parallax will be max 10 cm. | For parallax map height of effect is calculated by a coefficient. This coefficient is 1:0.0325, which means if your ground image has size 3 m in the game (3x3 m tile) your parallax will be max 10 cm. | ||
===How to fix the current parallax map=== | === How to fix the current parallax map === | ||
[[File:paralaxmapImprove_QuickFix.jpg]] | [[File:paralaxmapImprove_QuickFix.jpg]] | ||
Because there is a bigger range of height of parallax effect, your current parallax maps are maybe bigger | Because there is a bigger range of height of parallax effect, your current parallax maps are maybe bigger than you want them to be. The quick fix is using a levels tool in your favorite image editor. As you can see at the picture above, you are able to set the max and min values of height by grade of gray, whether your context of texture is too big in the game, move the darkness pixels closer to middle gray value, and the same process apply to brightness pixels, move them closer to middle gray value. | ||
{{GameCategory|arma3|Editing}} | {{GameCategory|arma3|Editing}} | ||
{{GameCategory|arma3|Tutorials}} |
Latest revision as of 10:33, 11 December 2023
Parallax Map for Arma 3
This page describes changes in parallax technology that are going to go into main branch of Arma 3 with Eden update (estimated Q1 2016), originally written by Pavel Guglava. The technology shouldn't affect vehicles at all, it is for the terrain and its surfaces.
Why did we upgraded a ground parallax technology
New parallax technology:
- Eliminates the ugly artifacts
- There is a better scale of the effect
- Bigger range of height / depth of the effect (1:0.0325)
How prepare a texture for improved parallax technology
Normal map textures contain different information in RGB and Alpha channels:
Normal map RGB
Height map Alpha
The way of making a height map and normal map is similar to the way it was done before. The biggest change is a change of basic level (the mesh surface of ground) in the height map. Basic level means a grade of gray in texture, which is mapped to a model of ground. The other levels are made by shader and its only a fake effect. Attached picture represents it easier than words:
A basic level is middle gray now (procedural) which means, if you work on a surface without bump details, just make procedural normal map with middle gray in an alpha channel.
Procedural nopx texture texture="#(argb,8,8,3)color(0.5,0.5,1,0.5,nopx)"; How height in the game is white or black color in the height map
For parallax map height of effect is calculated by a coefficient. This coefficient is 1:0.0325, which means if your ground image has size 3 m in the game (3x3 m tile) your parallax will be max 10 cm.
How to fix the current parallax map
Because there is a bigger range of height of parallax effect, your current parallax maps are maybe bigger than you want them to be. The quick fix is using a levels tool in your favorite image editor. As you can see at the picture above, you are able to set the max and min values of height by grade of gray, whether your context of texture is too big in the game, move the darkness pixels closer to middle gray value, and the same process apply to brightness pixels, move them closer to middle gray value.