Open diogovtx opened 2 years ago
It is also problem with CBUFFER. Right now when you create shader with different lods (subshaders) CBUFFER adjusted independently on each subshader. It leads to 2 problems when you switch active subshader from highest default to another: Different order in CBUFFER parameters leads to bugs in rendering or completely brokes rendering of object with this shader If CBUFFER is somehow different at subshaders (not only order, but parameter's count too), it leads to broken SRP Batching of this shader
As a result, it will be great to have ability to automatically "copy" CBUFFER from highest level subshader to all another. In other words, so that all subshaders have CBUFFER parameters identical to highest subshader
@diogovtx please bump this to as soon as possible as it's been open too long with bug tag cheers
Related to https://github.com/AmplifyCreations/AmplifyShaderEditor-Feedback/issues/98
@Reedmand on Discord (https://discordapp.com/channels/461534117297913866/1037503203215949934/1037504269609336975)