AskingQuestions / Shadeup

A language for WebGPU that makes writing shaders easier
https://shadeup.dev
137 stars 4 forks source link

[Example Indirect Instancing] Error: "DrawsVelocity is not a member of FPrimitiveUniformShaderParametersBuilder" #9

Closed roadstargames closed 1 year ago

roadstargames commented 1 year ago

Hello there! I am trying to compile IndirectInstancing module, but getting this error:

Error C2039 'DrawsVelocity': is not a member of 'FPrimitiveUniformShaderParametersBuilder'

\Plugins\IndirectInstancing\Source\IndirectInstancing\Private\ExampleIndirectInstancing\ExampleIndirectInstancingSceneProxy.cpp 424

Can you advise how I can fix that? Thank you!

AskingQuestions commented 1 year ago

It seems I haven't tested that example against 5.1 yet. You can try removing the .DrawsVelocity(DrawsVelocity()) line in that file and see if it works. (I'm not sure that example had proper velocity output working anyway so you might get some rendering artifacts)

roadstargames commented 1 year ago

Thank you for such fast response! Yes, I can confirm that everything is working as soon as I just comment that line! Thank you!