In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Do you not know what is a low polygonal style game? alas, it is still too young.
I remember that classic games such as Diablo, Red Alert, Zelda Legend and so on were all classified as low polygonal style games. Of course, the main problem at that time was that the computer configuration could not keep up with it.
With the gradual upgrading of computer hardware, the accuracy of the game picture is getting higher and higher, and the low polygon game has gradually become the spokesman of "Low".
But recently, with the advent of famous games such as Monument Valley, my World, War Simulator and besiege, low-polygon games have become a new style in a different way.
Today, what I want to introduce to you is the bovine break-level plug-ins that achieve low polygonization of the scene in Unity: Low Poly Terrain,Low Poly Water GPU and DirectX 11 Low Poly Shader, which can be downloaded from the official website of Unity. Free! It's really free! Okay, I've said it three times.
All right, let's teach one by one.
Low Poly Terrain
Low Poly Terrain is a tool for generating low-polygon terrain in the Unity editor. It supports the direct processing of terrain in the editor after importing Unity terrain data, as well as the import of height maps and color maps from other terrain tools. This tool dynamically generates and manages LOD levels to minimize the number of polygons. Using dynamic batch processing to reduce the utilization rate of CPU and GPU, we can query terrain data dynamically and support programmatic generation of trees and other objects on the terrain. Low Poly Terrain supports PBR and custom lighting models, which are suitable for environments with high performance requirements, such as VR platform.
The plug-in is easy to use and can create a new Low Poly Terrain object directly from the project window or GameObject menu, or add a Low Poly Terrain component to a game object, and then set a height map and color map for the terrain. A height map is a grayscale image that is used to encode the height information of the terrain. Low Poly Terrain uses vertex colors instead of UV coordinates to shade the terrain by default. Uncheck Generate Vert Color to switch to UV coordinates.
You can then set the size of the terrain, where Terrain Size is the length of the terrain square. For terrain with different LOD levels, it is best to set it to the integer power of 2. Hight can be set to any value. Chunk Size is the length of individual parcels, which can adjust the LOD level according to the camera distance, which must be divisible by Terrain Size and must be a multiple of Base Resolution. Base Resolution is used to define the minimum number of triangles on the terrain, that is, the lowest LOD level. LOD Levels determines the number of low-resolution meshes that can be generated per parcel. You can also set the terrain offset below. After all the settings are completed, click generate mesh to update the original terrain to a low polygonal style.
Low Poly Water GPU
Low Poly Water GPU is used to simulate low polygon-style water effects in Unity. All wave calculations are done entirely on GPU and do not take up CPU resources for optimal performance. The plug-in supports custom wave and lighting effects, can simulate the mixed special effects of water waves hitting the shore, plane reflection and refraction and light absorption effects, can receive shadow effects, can support up to 4 point light sources, and can customize the water surface grid. The plug-in supports mobile platforms.
The plug-in is also easy to use, simply select the prefabricated water effects you want to simulate from the Prefabs folder, add it to the scene, and then adjust the Low Poly Water component's material, mesh type, size, noise, whether to receive shadows, whether to enable reflection and refraction and other properties, you can add low-polygonal water effects to Unity. There is an extra camera setup module on the panel when reflection or refraction is enabled. In addition, you can set the properties of lighting and shadows separately.
DirectX 11 Low Poly Shader
DirectX 11 Low Poly Shader is also used to implement low polygon style plug-ins in Unity. Although the name includes DirectX 11, the plug-in can also support other graphics API, but requires hardware support for Geometry Shader. The plug-in provides a test resource kit, and you can test whether the plug-in supports the target platform before purchasing it.
DirectX 11 Low Poly Shader does not require mesh transformation, does not increase the number of vertices of the mesh, is consistent with the GPU resources consumed by the original mesh, and is faster to render, and is very useful for non-runtime generated meshes with unlimited mesh types.
The plug-in is also very convenient, as long as you add DirectX11 Low Poly shaders for meshes that need to switch to a low polygon style. The compilation target can be changed in the platform configuration file, and the plug-in currently supports setting the compilation target to the following versions:
# pragma target 5.0
# pragma target 4.6
# pragma target 4.0
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.