Coder Social home page Coder Social logo

volumetricclouds's Introduction

VolumetricClouds for FlaxEngine

Basic VolumetricClouds shader and WorleyNoise generator for FlaxEngine

This is a port from Unity to FlaxEngine.

Original repository: https://github.com/SebLague/Clouds

I tried this for fun and to learn without prior knowledge of 3D rendering and shaders. There are some tasks still open. I don't know if I will continue to work on this. Feel free to make it better and open a PR.

TODO:

  • Enhance performance (I am missing in-depth knowledge to do this myself). It pushes my GTX 1060 from 20% to 90%.
  • LightColor0 not correct / not the atmospheric color ("Sunrise/Sunset")
  • (Perhaps fixed: WorldSpaceLightPos0 is incorrect -> light absorption towards the sun does not work)
  • Cloud "fog" seems pixely, not smooth
  • Shader for distance clouds
  • Correct height for clouds, make it more realistic?

volumetricclouds's People

Contributors

lb2110 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

volumetricclouds's Issues

Compute shader (Noise Generator) problem?

Tested with latest Flax Engine (1.7.1), but engine crashes...

Modifying a few API Differences ( MainRenderTask.Instance.CustomPostFx.Add to MainRenderTask.Instance.AddCustomPostFx etc ) C# code is compiled, but compute shader crashes.

NoiseCompute.flax assign to actor is broken, and does not compiled. After some fiddling and deleting original .flax file NoiseCompute.flax is reconstructed from NoiseCompute.shader and assigned to actor without crash anyway, but noise generation is not working well.

image

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.