No artifacts, I have just now done a few tests on the zip I posted, with
no clamp at lines 177 and 178 and no black dots after 1000 subframes
Before the changes I made to the files in the zip I posted above...
Tried path: ./Downloads/CJR/tex.jpg
Tried path: ./Fragmentarium/Examples/Include/tex.jpg
Could not resolve path for file: tex.jpg
9 locked variables: X,Y,Z,R,CycleColors,Cycles,RayBounces,RaySteps,MaxDepth
Tried path: ./Downloads/CJR
Tried path: ./Fragmentarium/Examples/Include
Could not resolve path for file:
Setting texture to:
Camera: Use W/S to fly. 1/3 adjusts speed. Q/E rolls. Click on 3D window for key focus. See Help Menu for more.
Created front and back buffers as RGBA32F
Maximum texture size: 16384x16384
Fragment shader compiled with warnings: Fragment info
-------------
0(176) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(177) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(178) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(179) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(180) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(181) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(186) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(187) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(188) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(189) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(190) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(329) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(382) : warning C7533: global variable gl_FragColor is deprecated after version 120
Not a valid texture: Fragmentarium/
Compiled script in 41 ms.
Found 'Default' preset. Executing...
After these changes...
Added texture: DeTex -> ./Fragmentarium/Examples/Include/texture.jpg
9 locked variables: X,Y,Z,R,CycleColors,Cycles,RayBounces,RaySteps,MaxDepth
Setting texture to: ./Fragmentarium/Examples/Include/texture.jpg
Camera: Use W/S to fly. 1/3 adjusts speed. Q/E rolls. Click on 3D window for key focus. See Help Menu for more.
Created front and back buffers as RGBA32F
Maximum texture size: 16384x16384
Compiled script in 42 ms.
Found 'Default' preset. Executing...
I will look at inserting the #version line from user frag (main window code editor) into vertex and fragment parts of main shader and buffer shader before sending code to GPU so that user only has to specify #version once , should warn if conflict. If DE.frag or 3D.frag or BufferShader.frag already have #version then the highest #version will be the minimum required. Using the
compatibility flag will also take care of some conflicts.
again... excellent work
edit: I have fixed up FragM's parser to to automatically add #version from user fragment to the vertex shader so it only needs to be specified once and both parts, fragment and vertex use it.