The following text was translated from Japanese to English using machine translation.
Please forgive any shortcomings in the translation.
I'm writing to report a compilation error I encountered with this plugin, which may be specific to my environment.
Please find below details about my development setup and the workaround I implemented.
Development Environment:
Unreal Engine 5.4.4
Visual Studio 2022
How to fix:
I was able to resolve the issue by moving the following code
from HelloTriangleShaders.h to HelloTriangleShaders.cpp:
IMPLEMENT_SHADER_TYPE(, FTriangleVS, TEXT("/CustomShaders/Private/HelloTriangle.usf"), TEXT("TriangleVS"), SF_Vertex);
IMPLEMENT_SHADER_TYPE(, FTrianglePS, TEXT("/CustomShaders/Private/HelloTriangle.usf"), TEXT("TriangleVS"), SF_Pixel);
After making this change, the build was successful and the triangle was rendered correctly.
I've been searching for minimal sample code using RHI/RDG in Unreal Engine 5.
Unfortunately, many of the samples I found, including those on the official Unreal Engine website, were based on older UE4 versions.
I struggled to proceed due to compilation errors, even after following the tutorials step by step.
Given the scarcity of introductory samples for RHI/RDG, I found this sample to be extremely valuable and helpful.
I sincerely appreciate you sharing this excellent sample.
Thank you.
The following text was translated from Japanese to English using machine translation.
Please forgive any shortcomings in the translation.
I'm writing to report a compilation error I encountered with this plugin, which may be specific to my environment.
Please find below details about my development setup and the workaround I implemented.
Development Environment:
Unreal Engine 5.4.4
Visual Studio 2022
How to fix:
I was able to resolve the issue by moving the following code
from
HelloTriangleShaders.htoHelloTriangleShaders.cpp:After making this change, the build was successful and the triangle was rendered correctly.
I've been searching for minimal sample code using RHI/RDG in Unreal Engine 5.
Unfortunately, many of the samples I found, including those on the official Unreal Engine website, were based on older UE4 versions.
I struggled to proceed due to compilation errors, even after following the tutorials step by step.
Given the scarcity of introductory samples for RHI/RDG, I found this sample to be extremely valuable and helpful.
I sincerely appreciate you sharing this excellent sample.
Thank you.