Giter Site home page Giter Site logo

Comments (7)

3Dickulus avatar 3Dickulus commented on September 1, 2024 2

wrong-saturation
with-saturation

from fragm.

3Dickulus avatar 3Dickulus commented on September 1, 2024 1

"time" is a user optional variable, clouds were added to DE-Kn2cr11.frag without this consideration and had declared "time" internally causing conflicts in other frags.

You can find it in the menu Edit-> Insert Command->Special Uniforms

Simple solution is to put it in the user fragment before including Kn2cr11, the parts that use "time" in Kn2cr11 should be wrapped in #ifdef time ... #endif statements so that it doesn't cause an error if time is not declared... but they are not, will try to get that done, in the mean time...

...
uniform float time;
#include "DE-Kn2cr11.frag"
...

this works.

You could also uncomment the line in Kn2cr11 but that may cause problems in other user frags

from fragm.

3Dickulus avatar 3Dickulus commented on September 1, 2024 1

the "time" variable with USE_IQ_CLOUDS is for making the clouds drift across the sky when animating the scene

from fragm.

3Dickulus avatar 3Dickulus commented on September 1, 2024 1

it looks like you have neglected to turn on frame accumulation "progressive rendering" so you are seeing a single frame
single-frame
accumulated-frames

from fragm.

neozhaoliang avatar neozhaoliang commented on September 1, 2024

Thank you! I have solved this problem with your help. I am working hard to make my frag files compatible with FragM, so that users can run them without manual modifications.

from fragm.

neozhaoliang avatar neozhaoliang commented on September 1, 2024

Got that. Your replies are patient and very detailed. Thank you for all these.
Another problem I'm having is, when I load a frag file to FragM which I have tuned the settings in Fragmentarium, the rendering quality looks very low:
图片
Is there a way that I can set the rendering quality in the preview window?

And for this file using the DE-Raytracer, when loaded to FragM, the colors are not shown correctly:
图片
Is it because the way some parameters working have changed?

from fragm.

neozhaoliang avatar neozhaoliang commented on September 1, 2024

Thank you so much! I have already solved these problems. It turns out that some of my settings were not very reasonable. I will update the settings in the repository later.

from fragm.

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.