Saturday, August 15, 2020

Unity simple gradient skybox shader

Image


a lot of time, i just want a simple gradient shader for my skybox in unity...and i find the procedural skybox PBR shader to be impossible to work with.

 DOWNLOAD SHADER HERE

Here is a very simple shader i did using amplify, you can use it in screen space or world space 

It just lerp two colors (TOP and BOTTOM) using either the Screen position Y (screen space), or the Vertex pos Y (if you uncheck screen space.  There is always a sphere around your scene that unity appy the skybox material too, hence why it works). 

 There are also optionnal control for the gradient contrast (power and multiply). The shader is made with Amplify shader.

details HERE

No comments:

Post a Comment

Pinned

"This year I'll learn Learning Blender" he said for the 5th year in a row. + BforArtists

- What a fool   Context: I have 10+ years of 3DS Max experience, I initially started learning it by myself, then went to 3D school, and spen...