LineRenderer2D
LineRenderer2D copied to clipboard
cannot implicitly convert from 'float4' to 'struct SurfaceData2D' at line 148 (on d3d11)
unity 2022.3.11 urp2d Shader error in 'Game/S_BresenhamMultiLineRenderer2D': 'CombinedShapeLightShared': cannot implicitly convert from 'float4' to 'struct SurfaceData2D' at line 148 (on d3d11)
Hi, maybe this fork is helpful for you. @StinkySteak adapted the code to 2021 but I guess there is not so much difference with 2022: https://github.com/StinkySteak/LineRenderer2D
Thanks for the credit, but you still havent merge mine 💀
Thanks for the credit, but you still havent merge mine 💀
If I merged yours, then the code would not work for previous Unity versions. I would have to create a branch, but honestly I don't know if there is a way to apply your changes to another branch.