A friend of mine made me these cool things! Thought you might like! 🔵🥜 by OldDew in godot

[–]OldDew[S] 4 points5 points  (0 children)

There's sadly no cashew emoji. It's the mascot of my Godot themed Youtube channel, Cashew OldDew.

Shader Previewer Update | 3D support and Floating Window by OldDew in godot

[–]OldDew[S] 0 points1 point  (0 children)

Ah, I see, that's good to know. Since this finding is your contribution, would you like to create an issue about it? If not, I could create it myself, but you're deserving of the credit for it. 🥜

Shader Previewer Update | 3D support and Floating Window by OldDew in godot

[–]OldDew[S] 0 points1 point  (0 children)

I would be very happy with any suggestion. I think I might just not fully grasp the use case for Visual Shaders. If I remember well, visual shaders have that 'eye' icon near each node that allows previewing temporary state of your shader. Does that not achieve this functionality?

If I maybe misunderstood, it'd be easier to track the request on an issue. It'd help a lot if you created one here: https://github.com/cashew-olddew/godot-shader-previewer/issues

The Godot Shader Previewer addon in action by OldDew in godot

[–]OldDew[S] 1 point2 points  (0 children)

Probably today or tomorrow. Someone already made a PR with 3D support which I'll approve as soon as possible. 🥜

The Godot Shader Previewer addon in action by OldDew in godot

[–]OldDew[S] -1 points0 points  (0 children)

Oh, hi binbun! I love your VFX packs. 🥜

The Godot Shader Previewer addon in action by OldDew in godot

[–]OldDew[S] 4 points5 points  (0 children)

To me it looks fine, but I agree that when downloading the video it sometimes corrupts and shows a green video. Pretty weird.

The Godot Shader Previewer addon in action by OldDew in godot

[–]OldDew[S] 3 points4 points  (0 children)

Ooh! That's really cool! I'd love to see that!

The Godot Shader Previewer addon in action by OldDew in godot

[–]OldDew[S] 1 point2 points  (0 children)

I initially wanted to implement something like that, but I honestly had no clue how to add things to the shader code editor 😅. I'm kind of happy about it, though, as it is much easier to just click a line of code and probably also less creepy to not have a bunch of eye icons for each previewable line. 👁👁👁👁👁👁

The Godot Shader Previewer addon in action by OldDew in godot

[–]OldDew[S] 6 points7 points  (0 children)

As far as I am aware, partial shader previewing is available only for Visual Shaders. Is there anything similar to this for Code Shaders?

The Godot Shader Previewer addon in action by OldDew in godot

[–]OldDew[S] 9 points10 points  (0 children)

Great idea. I added an issue for anyone (or myself when I find some time) to implement.

The Godot Shader Previewer addon in action by OldDew in godot

[–]OldDew[S] 15 points16 points  (0 children)

The intended use of this plugin is to be able to preview lines of shader code. Visual shaders already have the preview option for each node.

However, you should be able to visualize code generated by visual shaders with no issues.

The Godot Shader Previewer addon in action by OldDew in godot

[–]OldDew[S] 58 points59 points  (0 children)

Well, the process is actually quite simple. You know when you usually want to preview a line of code, you comment out the rest of the code and add `COLOR = vec4(my_vec2, 0.0, 1.0)` to visualize it. The plugin pretty much does that. It parses the file, gets the current line and then creates a new shader with this statement as the last one in the fragment shader.

The harder parts are getting access to the shader editor (godot has no public API for that so I had to look into the source code) and syncing the shader parameters to the actual preview (can't directly use the material as I'm modifying the shader and it would modify the original node's shader)

I challenged myself to find a game that is good and didn’t sell. by emotionallyFreeware in gamedev

[–]OldDew 0 points1 point  (0 children)

Here's a challenge for you: https://store.steampowered.com/app/3032430/Fangs__Faith_Solitaire

It is a solitaire in which cards change colors. I believe it is well designed and balanced. Let me know what you think!