Giter VIP home page Giter VIP logo

Comments (2)

superckl avatar superckl commented on July 23, 2024

The following have been added to the set command:

  • fogStartModifier - a float value applied as a multiplicative modifier to the near plane distance for fog rendering. A value less than one will bring the fog closer to the player.
  • fogEndModifier - a float value applied as a multiplicative modifier to the far plane distance for fog rendering. A value less than one will bring the fog closer to the player.
  • fogShape - The shape of the rendered fog. Can be either CYLINDER or SPHERE.

Please verify these commands work and satisfy your use case. You can find a build with these commands on the jenkins server:
http://jenkins.superckl.me/job/BiomeTweaker%201.18/24/

from biometweaker.

superckl avatar superckl commented on July 23, 2024

With cc7b9fb, this has changed slighty. The fogShape remains unchanged, but there are now two new commands for the modifiers:

addNearFogModifier

Adds a multiplicative modifier to the near-plane distance for fog. Takes three arguments: A float modifier, and two integers specifying the min and max y to apply this modifier for. The integers are optional and will default to all y-values. Modifiers that apply to the same y-levels will stack multiplicatively.

Example:

plains.addNearFogModifier(0.5, 0, 60)

addFarFogModifier

Adds a multiplicative modifier to the far-plane distance for fog. Identical to addNearFogModifier otherwise.

Example:

plains.addFarFogModifier(1.5, 70, 90)

You can find the build here:
http://jenkins.superckl.me/job/BiomeTweaker%201.18/25/

from biometweaker.

Related Issues (20)

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.