Giter VIP home page Giter VIP logo

environmentsystem's Introduction

EnvironmentSystem

A simple system with a day-night cycle and customizable weather effects.

This repository is mostly intended for my own use, to share the code between my different projects. The environment system is a conversion and slight refactor of the blueprint system featured in the great course One Course Solution for Dynamic Sky System by Vince Petrelli on Udemy.

Converting the system to C++ taught me many things about working with dynamic materials and Niagara effects in code.

Usage

  1. Remove all light and atmosphere things from the map.
  2. Drag the EnvironmentController into the map

Common Problems

Sometimes the shaders bug out and you can see the sky sphere in the background. This is usually accompanied by the moon or sun looking strange.

To fix this usually one of these things will work:

  • Reload the blueprint asset
  • Restart the editor
  • Remove EnvironmentController and add it back to the map

Future Updates

  • Add tickable day/night cycle with time awareness and configurable speed
  • Add delegates for subscribing to events such as when when the sun rises or sets, or when the weather changes
  • Add subsystem to query the current time and manipulate the weather system in the current level
  • Bug fixes
  • Add more weather types

environmentsystem's People

Contributors

lambda-snail avatar

Stargazers

Anna Keune avatar

Watchers

Anna Keune avatar  avatar

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.