October 9th, 2020 Livestream Dylan Talk: Instanced Splines (Part 9)

October 9th, 2020 Livestream

Dylan Talk: Instanced Splines (Part 9)

https://youtu.be/pj50SOLT17Q

This video is part of a series of 14 videos.
Suggested Wiki Reference Code <ref name="yt-pj50SOLT17Q">[https://youtu.be/pj50SOLT17Q YouTube - October 9th, 2020 Livestream - Dylan Talk: Instanced Splines (Part 9)]</ref>

Topics

Transcript

okay so I think I have these bound correctly if I'm not filling myself so I need to modify this so before we had our, parameter layouts here and this is key this will if these don't match up it will crash very very very badly shader see I'll show you I think it's so we're our parameter our spline data is an array and I think there's a custom macro for that parameter type so I'm going to check out the sheet of parampar sampler array, feels feels good a sampler though no I just want a parameter ah got a that's an srv though I don't want an srv there we go shader parameter right it takes a type the actual member and then the length I'm just going to take there's this comment thank you epic for putting that comment there and our types are effector force which we could see in the, where'd it go the ush file did I close that text factory dot there it is because we have a yeah float4 spline params 10. so we are going to do effector 4 possibly it was mesh air spline mesh anything's it's just spline params is that any hits for this yep okay cool it's one mesh params and it wasn't length eight it was like ten so this is our custom vertex buffer which should still be good and then we have this new parameter arrays rather than passing in single floats we're passing in a whole array here this comment still makes me chuckle this is done correctly I don't know I guess we'll find out hold on to your butts I'm going to try to run this to see what it complains about I mean I see to see it work and be perfect