Biweekly update #7: Improved quality of life


This is the first biweekly release and we were confused whether we should call it biweekly 7 or 1, but seems like we should continue the version so we're calling it biweekly 7.

What's new

  • New UI
  • Infinite parameters min and max value
  • Better search
  • Consistent vector param
  • Vector suggestion
  • Colorpicker on vector params
  • Reworked Math Operator
  • New block: Comment
  • New block: Angle to point
  • New block: Direction to
  • Math functions: Added Degrees <-> Radians
  • Convert: Filler params when converting to higher vector
  • Blend: Added Color param so you can blend with color directly

New UI
Introducing a new UI

Infinite Parameters Minimum and Maximum value
You can now freely set a value on most params without being limited by minimum and maximum value. For example, previously you can only set UV offset from -64 to 64 (if not using expression), but now you can set it to any value you want.

Don't get too big though, because you will get a precision issue


Improved Search
The search is now keyword based instead of based on it's text.

Consistent Vector Param
The vector param on New Var and Math Op sometimes behave differently than other blocks because at the time they were implemented, there was no premade param for vectors, so they're hard-coded. Look at this:

Notice how the vector popup disappears when I tried to set the alpha for the first time.
Now they use the same param as the other blocks so their behavior is more consistent now.

Vector Suggestion
If you entered a vector with channel on a vector param, the next param will suggest the same vector but with the next channel from previous value. And you can dismiss this suggestion by pressing backspace.

Colorpicker On Vector Params
Introduced on previous release for the Choose block, now this colorpicker is available on the New Var and Set Var so you can directly set color on there.

Reworked Math Operator
If A is a Vector4 and B is a float, only the RGB channel will be affected. But now the Alpha channel will be affected as well.

This is for sake of consistency, because if A is a Vector2 or Vector3, all of its channels are affected. However, for Vector4, only the RGB channels are affected instead of all of its channels. This is rather inconsistent and now it has been changed. So if you want to affect only the RGB like on the previous versions, set B to Vector3 and then set all of its values as the float.
Backwards compatibility is handled automatically.

New block: Comment
Comments are useful to explain what you're doing on your shader. Just click the comment and then you can change the text. Multi-line comment is supported too.

New block: Angle to Point
This block returns the angle of vector A to vector B, same as Vector2.angle_to_point() in GDScript. And this is vector2 only, because 3D doesn't use single angle like 2D.

New block: Direction to
This block returns the direction of vector A to vector B. This works on any vector.

Math Function: Degrees <-> Radians Conversion
Added degrees <-> radians conversion on the math function block. 

Convert: Filler Params
When you convert a vector to a higher vector, there will be filler params so you can set it directly.

Blend: Quick Color
The blend block now has Color option, which will allow you to blend with a color directly on the block without creating a new variable.

Bug fixes:

  • Fixed a bug where params min and max value can be infinite when you enter the value at least twice
  • Fixed parameters caret jumping to the first character after you entered a value

Files

Shaderblocks-Windows.zip 15 MB
Dec 02, 2022
Shaderblocks-Linux.zip 19 MB
Dec 02, 2022

Get Shaderblocks

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.