User Tools

Site Tools


arma2:modeling:lighting_shading

ArmA 2 Model Lighting Shading

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

Model Lighting / Shading

This model is composed of quads. Each quad is formed by a pattern of edges more or less like the latitude and longitudinal lines on a globe. That pattern of concentric rings of edges are called edge loops.

Notice on the model (such as it is), the areas with greater detail have edges that are close together. Look around the eyes, nose, and mouth. Notice that these edge loops that are close together form 'creases' in the vertex shading. Edge loops that are close together can give the appearance of creases depending on the shape of the surface.

To down model those edge loops, what you want to do is decrease the detail in that area. Hopefully that will smooth out the lighting. So, if there are three edge loops in that area, you can try getting rid of one or two of them by merging the vertices. You can also try spreading them out. Tighter Geometry = more severe crease.

After doing that normal stuff (recalculate, hard soft edge), see if the problem still exists in the same severity in a render that incorporates your pixel shaders.

I should say that these crease happen only around soft edges, usually where the geometry is forming a corner or a curve. Thinking about it, making a hard edge where the vest meets the shoulder should probably get rid of most of that distortion.

arma2/modeling/lighting_shading.txt · Last modified: 2024/08/01 21:55 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.