Comments (5)
While it's very obvious that I haven't had any time or energy to work on this I'm still perfectly happy to merge PRs. However that's somewhat pointless as I don't have the ability to deploy a patch to the extension. I'll try to get in touch with @stevensona to see if we can make it possible for both of us to deploy.
from shader-toy.
I thought this should already be supported, e.g. the paused state should be maintained through reloads if the setting Reset State On Change Editor
is disable. I can take a closer look to see if that currently works or not.
from shader-toy.
I can confirm that the following settings still results in the shader not being paused after updating. Is this a bug or a missing feature? Will any of the maintainers still go through the effort of merging a PR to address this issue?
{
"shader-toy.resetStateOnChangeEditor": false,
"shader-toy.pauseWholeRender": true
}
from shader-toy.
I've also noticed this issue. Here's my personal workaround.
- Install the multicommand extension
- In your vscode keybindings file, define the following:
[{
"key": "alt+enter",
"command": "extension.multiCommand.execute",
"args": {
"sequence": [
"workbench.action.files.save",
"shader-toy.showGlslPreview",
"shader-toy.pauseGlslPreviews"
]
}
}]
Now, when you press alt + enter, the code will save, preview in the shader-toy extension, and pause. I also disabled these shader-toy settings:
"shader-toy.reloadAutomatically": false,
"shader-toy.reloadOnEditText": false,
"shader-toy.resetStateOnChangeEditor": false,
from shader-toy.
Since I solely use this for passion projects I'm satisfied with @mzschwartz5 's workaround. Thanks a lot
from shader-toy.
Related Issues (20)
- iMouse.w behavior is different from Shadertoy
- Make available as web extension HOT 2
- Compilation Error with includes HOT 2
- Feature request: leave the preview alone if compilation fails HOT 2
- Feature request: GLSL ES 3.0 Support HOT 1
- bug report on self-input-buffer and solution to it HOT 1
- Feature request: import from shadertoy url and from shadertoy export json HOT 2
- Frametime panel blocks the Controls panel
- Feature request: export as video HOT 7
- Feature request: breakpoint debug shaders HOT 1
- Feature request: reload texture when the image changes
- Recording w/ the framerate graph enabled errantly records the framerate graph and not the shader HOT 1
- Feature request: Export Frames as PNG for High-Resolution Video Creation HOT 1
- Add .reloadOnSave HOT 1
- can't run glslify example HOT 5
- Cant preview any shader HOT 1
- Compilation error when using #define HOT 1
- Weird Artifact on Custom Screenshot Resolutions
- The menu is displayed even for files other than .glsl.
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 shader-toy.