Biweekly update #9: We're back
It's been a while since the last time we updated, and we're sorry about that. This update brings you:
- All new, rewritten params
- No more up and down buttons, you will drag the param to change the value or click if you want to type
- Introducing special parameters
- Get the value of this param by using <value>
- Reference other elements by using <x>, <y>, <z>
- Syntax highlighting
- Better autocompletion
- No more up and down buttons, you will drag the param to change the value or click if you want to type
- Reworked Time Input
- Automatic UV name
Meet the All New Params
The params have been rewritten from scratch, now instead of up and down button, you can change their value by dragging them, and holding ctrl key will make it step by integer. The text rendering is also custom, and that allows us to have syntax highlighting.
Introducing Special Parameter: <value>
This will get the value of this param, this will allow you to use it in an expression so when you drag it, it won't replace the expression with a new value, instead the expression will be kept while the value is changed.
Vector Params: Reference Other Elements
Elements in vector params can now reference the expression of other elements. For example, using <x> on the Y element will reference the expression of the X element. You can also use it in an expression like this: "<x> + 1".
Note that an element can only reference the previous elements, so Y can only reference X, Z can reference X and Y, and so on.
Better Autocompletion
Not only the params that are rewritten, but also the autocompletion. The autocompletion now works properly, you can use keyboard to navigate and hovering on them won't lose focus anymore.
Reworked Time Input
The Time input now has "loop every" param which will loop the time every specified seconds (not in real seconds though, it's affected by speed scale). You can enable or disable the loop by toggling the checkbox in there. We also removed the "time offset" param because it's kinda useless and you can just use the Math Operator block instead.
Automatic UV Name
When creating a UV from a param, it's name will follow the block context (e.g. the shape, texture, etc.). If the block apply mode is New Variable, then it will follow the block name instead.
Other
Exporting now uses the native file dialog.
Files
Get Shaderblocks
Shaderblocks
Make shaders by drag and drop
More posts
- Shaderblocks Dev 11: Introducing UniformsJun 15, 2023
- Biweekly update #10: Huge changes, internallyMar 13, 2023
- Biweekly update #8Dec 18, 2022
- Biweekly update #7: Improved quality of lifeDec 04, 2022
- Weekly update #6: More blocksNov 22, 2022
- Weekly update #5: Upgrades on blocksNov 11, 2022
- Weekly update #4: Up to 3 times faster!Nov 04, 2022
- Weekly update #3Oct 28, 2022
- Weekly update #2Oct 21, 2022
Leave a comment
Log in with itch.io to leave a comment.