Fandom

武装突袭 Wiki

Arma 3 Parallax Map

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

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:

File:DisplaceTest middle nopx a.jpg

Normal map RGB

File:DisplaceTest middle nopx b.jpg

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:

File:ParalaxmapImprove.jpg

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编辑

File:ParalaxmapImprove QuickFix.jpg

Because there is a bigger range of height of parallax effect, your current parallax maps are maybe bigger then 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.

更多维基

随机维基