Replies: 1 comment 5 replies
-
Did you find the Stride Shader explorer? It gives you an overview of the shaders and how they inherit from each other. This is a great learning source. Make sure Stride is installed before starting it. Also, have a look at the shader examples in the Stride launcher. Create the project and inspect it. Here are many many image shaders: And here are many more shaders in general: But Stride also comes with Gaussian blur, I think. The main issue for you will be that most of your examples are multi-pass shaders and you will need to write CPU code to manage the shader passes. That will require an understanding of the Stride render pipeline. If you just want to learn how to write shaders in SDSL you can try vvvv where everything is interactive and in real-time. If you then have a shader you like, you can integrate it into your Stride game. Have a look at the help patch "How to write a shader" in the vvvv help browser. |
Beta Was this translation helpful? Give feedback.
-
Hello, everyone! Mt name is Lev and I'm started leraning how to work with SDSL and shaders in Stride in general.
I have several question because it's not clearly said in documentaion about some aspects of that language and how to write different typs of shaders.
There are my questions:
And I don't know what attributes and methods are inside them. For example, I found in one git repository code for motion blur that I can use streams.TexCoord. If anoubody know where I can find a good explanation of what inside this classes? In the main page it's not clear about what I can do with them.
Link for git repo with motion blur: https://github.com/ykafia/UnrealMotion/blob/master/UnrealMotion/Effects/VelocityTile.sdsl
The main Stride page: https://doc.stride3d.net/4.0/en/manual/graphics/effects-and-shaders/shading-language/index.html
Beta Was this translation helpful? Give feedback.
All reactions