언리얼 나이아가라 스크래치 패드에서 CustomHLSL을 쓰던 중 이슈가 발생되었다.
문제상황은 FloatArray를 인식하지 않아서 에러가 나오는 상황이다.

나이아가라 HLSL에서는 In_, Out_ 키워딩으로 input과 output 값을 매핑해줄 수 있다.
다만 Float Array는 정상적으로 작동하지 않아서 따로 코드를 추가해서 작성해주었다.
Issues with niagara scratch pad module : "map for" node not woking with CPUSim and "Custom HLSL" array undeclared
Hello, I have 2 issues with niagara scratch pad module. First : If if I set the emiter Sim Target to “CPUSim” the “map for” node in scrath pad modules doesn’t work, but if I set the emiter Sim Target to “GPUCompute Sim” it does. I have no err
forums.unrealengine.com
https://realtimevfx.com/t/reading-array-in-niagara-custom-hlsl/21213/3
Reading Array in Niagara Custom HLSL
Thanks. I got this to work, somehow. When I do this in a scratch pad and set the scratch module in a GPU emitter. However, when I am using it in a CPU emitter or making it a standalone module script asset, the compiler gives me the lvalue (???) error. I kn
realtimevfx.com
'Unreal > Unreal_Niagara' 카테고리의 다른 글
| Niagara에서 동적으로 Bounding Box 바꾸기 (0) | 2026.01.30 |
|---|---|
| 렌더러별로 랜덤으로 파티클뽑는 방법 (0) | 2026.01.30 |
| 나이아가라 캐시이슈(출력 이슈 시 오토 컴파일러를 믿지 말 것) (0) | 2025.02.13 |
| Unreal하면서 모르거나 궁금한건 어디서 찾아야할까? (0) | 2025.02.12 |
| Unreal Niagara Sword Trail (0) | 2024.12.20 |