Pieter-Jan Briers 4033d96327 Engine changes for displacement maps. (#5023)
* Add load parameter support to RSIs.

Currently only supports turning sRGB off. RSIs with custom load parameters are not thrown into the meta-atlas.

As part of this, TextureLoadParameters and TextureSampleParameters has been made to support equality.

* Add UV2 channel to vertices.

This is a bad hack to make displacement maps work in Robust. The UV2 channel goes from 0 -> 1 across the draw and can therefore be used by displacement maps to map a separate displacement map layer on top of the regular meta-atlas RSI texture.

This creates float inaccuracy issues but they weren't bad enough to completely void the feature. I'm thinking I learn from this experience and completely re-do how UVs work with the renderer rewrite, so that hopefully won't happen anymore.

This required dumping the optimized PadVerticesV2 because the changed struct size made it impractical. RIP.

I don't like this approach at all but the renderer is slated for a rewrite anyways, and all shaders will need to be rewritten regardless.

* Add CopyToShaderParameters for sprite layers.

This effectively allows copying the parameters of a sprite layer into another layer's shader parameters. The use case is to copy texture coordinates for displacement maps, as the exact map used changes depending on orientation. It also enables animations to be used though I didn't use that personally.
2024-04-27 16:03:35 +10:00
2023-12-25 00:28:51 +01:00
2024-03-23 16:21:34 +01:00
2024-04-27 12:33:45 +10:00
2022-03-21 18:02:35 -06:00
2024-04-26 18:12:55 +10:00
2020-12-20 23:52:36 +01:00
2017-05-03 15:40:44 +02:00
2022-03-20 23:08:59 -06:00
2023-11-27 21:41:01 +11:00
2023-12-15 18:07:41 +01:00
2019-03-13 13:25:55 +01:00
2017-08-08 12:47:31 +02:00
2019-03-13 13:25:55 +01:00
2022-12-01 22:43:09 +01:00

Robust Toolbox

Robust Toolbox is an engine primarily being developed for Space Station 14, although we're working on making it usable for both singleplayer and multiplayer projects.

Use the content repo for actual development, even if you're modifying the engine itself.

Website | Discord | Forum | Steam | Standalone Download

Documentation/Wiki

The wiki has documentation on SS14s content, engine, game design and more. We also have lots of resources for new contributors to the project.

Contributing

We are happy to accept contributions from anybody. Get in Discord or IRC if you want to help. We've got a list of issues that need to be done and anybody can pick them up. Don't be afraid to ask for help either!

Building

This repository is the engine part of SS14. It's the base engine all SS14 servers will be built on. As such, it does not start on its own: it needs the content repo. Think of Robust Toolbox as BYOND in the context of Space Station 13.

See legal.md for licenses and copyright.

Description
Languages
C# 98.8%
Fluent 0.6%
Python 0.4%
GLSL 0.1%