UE5 Asset Multi Color Masking

Модератор раздела «Unreal Engine»
Модератор
Статус
Оффлайн
Регистрация
12 Авг 2020
Сообщения
4,368
Реакции[?]
3,787
Поинты[?]
2M
1714177021386.png

V5.2
Пожалуйста, авторизуйтесь для просмотра ссылки.

Трейлер / Trailer:

Этот пакет ресурсов призван повысить модульность и производительность. В первую очередь он состоит из функций материала, которые позволяют выделять цвета из текстуры и использовать ее в качестве маски в вашем материале для достижения желаемых эффектов или визуальных эффектов.

Технические детали / Technical Details:

Overview:


The same result as this pack offers can be achieved with the IF node albeit with a performance detriment as this pack uses pure arithmetic.

The reason why the the IF node is slow is that it creates a branch which is somewhat fine for the CPU as they are able to predict branching, however due to architectural differences the GPU literally is not capable of doing so, which causes a major slowdown as some cores do one set of instruction, some do another, and/or some do none which is horrible, which is why this approach is a lot better as it relies on mathematics which is what GPUs and CPUs are really good at.

Features:
  • Absolutely performant! The functions do not use "if" nodes.
  • Isolate the red, green, blue, yellow, magenta, cyan and alpha from a texture object or colour value.
  • Isolate only red, or green, or blue, or yellow, or magenta, or cyan from a texture or colour value.
  • Isolate any colour from a texture or colour value.
Number of Unique Static Meshes: 1
Number of Unique Materials and Material Instances: 7
Number of Unique Material Functions:
18
Number of Textures: 4
Texture Resolutions:
  • 2 - 128x128
  • 1 - 256x256
  • 1 - 4096x4096
NOTE: All textures, materials and meshes are only made to give example and showcase the nodes of this asset pack.
This product supports Nanite for Unreal Engine 5.0+

V5.2
Для просмотра содержимого вам необходимо авторизоваться.
 
Сверху Снизу