Модератор раздела «Unreal Engine»
-
Автор темы
- #1
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 Materials and Material Instances: 7
Number of Unique Material Functions: 18
Number of Textures: 4
Texture Resolutions:
- 2 - 128x128
- 1 - 256x256
- 1 - 4096x4096
This product supports Nanite for Unreal Engine 5.0+
Для просмотра содержимого вам необходимо авторизоваться.