PopcornFX / O3DEPopcornFXPlugin

PopcornFX plugin for O3DE
https://www.popcornfx.com/
Other
13 stars 12 forks source link

Error processing O3DEPopcornFXPlugin\Assets\shaders\Billboard\Legacy\BillboardLit_Legacy.shader #23

Closed SelfishOlex closed 2 years ago

SelfishOlex commented 2 years ago

When configuring PopcornFX with o3de-multiplayersample using development branch of O3DE, the following shaders are failing to process.

image

The failures are similar, for example for O3DEPopcornFXPlugin\Assets\shaders\Billboard\Legacy\BillboardLit_Legacy.shader:

~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~ShaderPlatformInterface: Executing '"C:\git\o3de\build\bin\profile\Builders\DirectXShaderCompiler\dxc.exe" -E BillboardVS -T vs_6_2 -Zpr -enable-16bit-types -Fo "C:\git\o3de-multiplayersample\user\AssetProcessorTemp\JobTemp-urFMjU\BillboardLit_Legacy_dx12.dxil.bin" -Fh "C:\git\o3de-multiplayersample\user\AssetProcessorTemp\JobTemp-urFMjU\BillboardLit_Legacy_dx12.dxil.txt" "C:/git/o3de-multiplayersample/user/AssetProcessorTemp/JobTemp-urFMjU/BillboardLit_Legacy_dx12.hlsl.prepend"' ...
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~C: [Platform API] = dx12
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~E: DXC: Trace::Error
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~C: [Platform API] = dx12
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~E: >    C:/git/o3de/Gems/Atom/RHI/Code/Source/RHI.Edit/Utils.cpp(379): 'bool __cdecl AZ::RHI::ReportMessages(class AZStd::basic_string_view<char,struct AZStd::char_traits<char> >,class AZStd::basic_string_view<char,struct AZStd::char_traits<char> >,bool)'
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~C: [Platform API] = dx12
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~E: >    C:/git/o3de-multiplayersample/user/AssetProcessorTemp/JobTemp-urFMjU/BillboardLit_Legacy.azsl.dx12.prepend:80:27: error: no member named 'GetShadowCoords' in 'DirectionalLightShadow'
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~C: [Platform API] = dx12
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~E: >    DirectionalLightShadow :: GetShadowCoords ( shadowIndex , vtxWorldPos , vtxNormal , output . m_shadowCoords ) ;
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~C: [Platform API] = dx12
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~E: >    ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~C: [Platform API] = dx12
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~E: >    C:/git/o3de-multiplayersample/user/AssetProcessorTemp/JobTemp-urFMjU/BillboardLit_Legacy.azsl.dx12.prepend:179:8: error: no matching function for call to 'ComputeParticleLighting'
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~C: [Platform API] = dx12
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~E: >    return ComputeParticleLighting ( input . m_worldPosition , 
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~C: [Platform API] = dx12
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~E: >           ^~~~~~~~~~~~~~~~~~~~~~~
~~1663034287099~~1~~000000000000BFE8~~AssetBuilder~~C: [Platform API] = dx12

BillboardLit_Legacy.shader-2140902506-34596.log

ValPKFX commented 2 years ago

Hi, Thank you for reporting. This is now fixed on the development branch.