Comments (7)
from fragm.
"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.
the "time" variable with USE_IQ_CLOUDS is for making the clouds drift across the sky when animating the scene
from fragm.
it looks like you have neglected to turn on frame accumulation "progressive rendering" so you are seeing a single frame
from fragm.
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.
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.
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)
- render time with ETA & progress per subframe
- Windows build of Fragmentarium 2.5.6 crashes at startup HOT 6
- Is there any homepage for FragM like there was for Fragmentarium HOT 2
- segfault on mouse click in dead window HOT 1
- Nothing showing HOT 3
- Attempting to build on google collab HOT 9
- frag/vert compatibility patches should handle `#extension` HOT 11
- cmake 3.20 is too new HOT 1
- Video encoding dialog bug
- Looping camera path
- Ping pong
- Easingcurve crash
- Easing curve loop off by 1
- Rewind animation
- Cannot find `rand` function HOT 4
- The animation render doesn't rename the frames incrementally HOT 6
- glsl preprocessor directives not parsed
- Support exporting to shadertoy HOT 5
- Is "subframe" equivalent to "iFrame" in shadertoy? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fragm.