【パブリッシャー丸ごとセール第103弾】9月20日 0:00 〜 9月26日(木) 23:59まで
Imphenziaのアセット50%オフ
↓↓↓ 今週の無料アセットプレゼント🎁
『Blasters Large』$21.95 => FREE(9月26日 23:59まで無料)
クーポンコード:IMPHENZIA
【Fresh Asset sale】⏰️ 9月19日 〜 10月2日 23:59まで NEW!!
200を超える最新の人気アセットがお買い得。秋のフレッシュアセットセール開催 🎉
🈹 合計60ドル以上のご注文ならクーポン適用で さらに10%オフ
クーポンコード:SEP10BER
※ 有効期限:2024年9月30日まで、複数回利用可能、セール品以外にも使えます
【Humble Bundle】 その他 ソフトウェアバンドルはこちら
『BLENDER MARKET: BEST OF 2024』 ⏰️ 10月5日(土) 3時まで
Blender用のワールド構築ツールキット。地形、液体、人間、植物など豪華なアセットバンドル
価格:$30で31アイテム
『LEARN TO CREATE GAME ART IN BLENDER 2024』 ⏰️ 9月24日(火) 3時まで
Blenderのスキルアップ。GameDev.tvのGDTVゲームアートバンドルコース(英語)
『LEARTES UNREAL AND UNITY ASSETS GIGA BUNDLE ENCORE』 ⏰️ 10月7日(月) 3時まで
最新3Dモデルが破格⚡️Unityとアンリアルエンジン混合バンドル $30で61アイテム
The "Mask Map Generator" is a Unity tool created using Unity version 2021.3. It facilitates the generation of a Mask Map by combining information from four input textures: Diffuse Map, Normal Map, Metallic Map, and Ambient Occlusion Map. The generated Mask Map is used to store various material properties, such as metallic, ambient occlusion, and smoothness values, which can be utilized in shaders to enhance the visual quality of 3D models. The tool provides a user interface within Unity's editor for inputting the textures, generating the Mask Map, and saving the result.Input Textures: The tool allows the user to specify four input textures:Diffuse Map: Represents the color information of the material.Normal Map: Contains surface normals for simulating bumps and crevices.Metallic Map: Defines the material's metallic properties.Ambient Occlusion Map: Encodes ambient occlusion information for shading.User Interface: The tool provides a user-friendly interface within Unity's editor. Users can input a desired "Texture Name" and select the four input maps using object fields.Generate Mask Map: Upon clicking the "Generate Mask Map" button, the tool checks if all input maps are provided and have the same dimensions. If any criteria are not met, error messages are displayed.Mask Map Generation: If input maps are valid, the tool proceeds to generate the Mask Map. It creates a new Texture2D with the same dimensions as the input maps. For each pixel in the maps, it extracts specific information:Metallic Value: Extracted from the red channel of the Metallic Map.Ambient Occlusion Value: Extracted from the green channel of the Ambient Occlusion Map.Smoothness Value: Calculated based on the Normal Map.These values are combined to create the Mask Map pixel color.Saving the Mask Map: After generating the Mask Map successfully, the user can click the "Save Mask Map" button. The tool allows the user to specify a folder for saving the Mask Map as a PNG file. If a file with the same name already exists, the tool prompts the user to confirm whether they want to overwrite it.File Management: The tool checks if the target folder exists and creates it if not. It then encodes the Mask Map as a PNG image and saves it to the specified path. The saved file is immediately recognized by Unity through AssetDatabase.Refresh().Feedback: The tool provides feedback to the user through the Unity console, indicating whether the Mask Map generation and saving processes were successful or if any errors occurred.In summary, this Unity tool streamlines the process of generating a Mask Map, which is crucial for realistic material rendering in 3D environments. It offers a convenient user interface for inputting textures, generates the Mask Map based on specific rules, and allows users to save the resulting Mask Map for use in their Unity projects.
▼ Humble Bundle
Software Bundles
AssetStore Price down information
LinkList
copyright © AssetStore Price down information All Rights Reserved.