Skip to content

Create Sinusoidal grating using shaders with inter-trial intervals #1038

Answered by ThetaS
ThetaS asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Bruno,

Thanks for the reply. I've though of using DrawGrating node but in previous version of Bonvision, overlaying a stimulus onto another would appear a black square bounding box. It seems like you've fixed this problem already. But I think it would be great to cover how shaders can be loaded in Bonsai in this thread. Bonsai has been updated very much since the "Shader tutorial" has appeared in the google group, especially the DrawMesh node. Could you briefly mention how to load shader files in "UpdateFrame" and use it in "DrawMesh"? Thank you!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bruno-f-cruz
Comment options

Answer selected by glopesdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants