I’m starting development on a project that requires a painterly look (think impressionist style like Van Gogh). I know that a big part of this style will come from the models and textures but a good shader is also key here. I found this really cool example of a brush stroke shader for real time rendering: Brush Strokes | GPU Hacks
Does anyone know if something like this could be done in Unity?
And to top it off, could this be made to work with oculus?
I don’t see any reason why something like this wouldn’t work in Unity. It would definitely be Pro only though as you’d need to render to texture for the post-processing passes.
It would be as much art as science getting it to look good, and I would experiment with a few different techniques and do some searching for published graphics papers. I might try, for example, encoding the stroke direction in the model (maybe using the vertex colour) rather than trying to extract it from edges. I would also try rendering the strokes with bump mapping and a simple lighting model to give the final image a bit of depth.
I have no had any experience with the Oculus, but once you have something rendering to your satisfaction, I don’t see why it wouldn’t work there. It is “simply” a matter of rendering the scene twice with different camera locations.