Hello!
In this post I try to play with Martins Upitis (Martinsh) shaders or just update his shaders.
I’m not experimented in GLSL so if you’ve any suggestion, you’re welcome!
Good night/day!
And thanks very much to Martinsh for its great work!
EDIT:
- Simplified water:
Youtube tutorial https://www.youtube.com/watch?v=2MJYB-hCyiE
.blend http://www.mediafire.com/download/0zw5aqao4lamem5/waterSimplified.blend
Youtube tutorial part2 http://youtu.be/ONDhWjA3fBc
.blend http://www.mediafire.com/download/wila5917m3hmfv1/waterSimplified3.blend
.blend http://www.mediafire.com/download/ruxmsi5x22wgwdi/waterSimplified4.blend
At the end of the part2, you can multiply refraction by vec3(0.2, 0.4, 0.9) (red = 0.2, green = 0.4, blue = 0.9) for example if you want to change water color. resettimer and randomtime properties are not needed so you can remove the properties and the related code in watertexture.py script.
- Parallax Martinsh shader UpToDate (hopping I made no mistake):
parallax_silhouette.blend (679 KB)
- Reflections on a plane:
http://www.mediafire.com/download/250vebqzkgsj67p/reflectionsOnPlane.blend
- Fire:
http://www.mediafire.com/download/aic4cz07qbl7clc/fire.blend
(in the materials tab, ZTransparency to 0 and face orientation to billboard)
Sub Surface Scattering:
Attachments
SSS.blend (1.71 MB)