Giter Club home page Giter Club logo

cloudskybox's Introduction

CloudSkybox

CloudSkybox is an extention for Unity's default procedural skybox shader that draws clouds with a volumetric rendering technique.

GIF

Screen

System Requirements

  • Unity 5.3 or later
  • A GPU which supports SM 3.0

cloudskybox's People

Contributors

keijiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloudskybox's Issues

Clouds appear black and distorted

When the Directional Light is rotated around x axis at 180 degrees (this is when the night starts), the clouds suddenly appear black and distorted until their x rotation reaches 183 degrees. The problem is shown in the image below:
image

Keep Coming back to This.

Hello Keijiro.

I keep coming back to this awesome implementation for a skybox. Have you any pointers for improving performance. Its been some years so I assume there are many techniques now that might help.

About reference data assets and sky box material setting.

Hi! Keijiro.
I have question about how to manage Perlin.asset and Worley.asset, and how to change skybox's material. I never see any code to load Perlin.asset and Worley.asset, and change skyobx' reference code. How did you do it?

Improvement and Feature request

Hi Keijiro,
First of all this is really awesome works man.
and yeah i know that this version are prototype and you will improve it again in the future, so i just want to request some feature that maybe you can added in the future.
Mostly it would be cool if we can adapt the guerilla games volumetric rendering tech into this cloud

  • 1 RGBA 2DTexture noise for cloud curling/distortion can be used perchannel
  • 1 RGBA gradient for perchannel falloff for height & distance & and curl value
  • Descend the cloud into horizon for seamless transition
    not quite sure about this
  • distance coverage multiplier
    :)

Dark sky and clouds

The sky and the clouds are appearing dark to me as you can see in the pictures below. I have applied some post processing parameters but even when I turn them off the sky and clouds are darker than the picture that is in the description of this GitHub project.
Unity version 2018.3.2f1

UPDATE: I managed to fix the problem by changing the parameters "Scattering Coeff" and "Extinction Coeff".

image

image

image

Wrong use of BeerPowder

Hi!
Your code is great, very clean. I was working on a clouds shader for some days now but just as it was almost ready I found this. I found here some things I was missing in my version, thanks for sharing this.
There is a small bug in your code. You are using the BeerPowder in a wrong way, it should be used for clouds pointing away from the sun. Now the BeerPowder makes a ugly black silhouettes around clouds that occlude sun. The second thing is the light loop. I could tune it fine with just <10 steps and without the random noise. I thinks the light steps should be much smaller.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.