Hello,
Obligatory - UE4 newbie here - So pardon me if I do not know things.
I am looking at writing custom shaders to load (static) meshes in the scene (Basically load index buffer and vertex data in). Similar to gltf files.
As I am doing my research, I understand that there are Global Shaders (mostly 1 per scenes and used for things like post process etc) and Material Shaders (Which can have applied to various objects in the scenes) - So I guess I should be looking more in to writing Materials shaders. (vertex and pixel shaders here)
So I read the following tutorials/links I could find :
I have some questions :
Do I understand it correct (on a broader level) or I am missing something here?
Thanks!
Obligatory - UE4 newbie here - So pardon me if I do not know things.
I am looking at writing custom shaders to load (static) meshes in the scene (Basically load index buffer and vertex data in). Similar to gltf files.
As I am doing my research, I understand that there are Global Shaders (mostly 1 per scenes and used for things like post process etc) and Material Shaders (Which can have applied to various objects in the scenes) - So I guess I should be looking more in to writing Materials shaders. (vertex and pixel shaders here)
So I read the following tutorials/links I could find :
- UE4 Rendering - 6 part series - https://medium.com/@lordned
- https://medium.com/@solaslin/learnin...1-b6d5500a5161
- https://www.raywenderlich.com/57-unr...aders-tutorial
I have some questions :
- Should I be implementing it as a plugin or local module? I assume in UE4 plugins systems there is not much of a difference(?)
- To start off with I am looking to load a simple triangle or cube 3d model into the scene with my custom shaders - I found this blog post (https://rcaloca.blogspot.com/2018/01...o-ue4-v20.html) but I havnt manged to get far ahead. Does any one know of any resource /sample/tutorial doing the same? It is a pretty basic use case so I guess there should be some tutorials but I havnt any yet.
- I found this https://github.com/sp0lsh/UE4ShaderPluginDemo/ - But I am still looking through it to understand and extent it to load a simple model . Any pointers would be appreciated.
Do I understand it correct (on a broader level) or I am missing something here?
Thanks!
Comment