[resource] tweakable variables

  • Posts: 177
4 years 9 months ago #1 by kingeric1992
tweakable variables stored in 10x10 buffer,
to get stored values, just read the storage texture.



numpad 8,4,2,6 to move cursor
+- to increase/decrease value where cursor is pointing.
numpad 5 to show debug screen ( storage buffer & cursor)

it took about 0.006ms for 100 variables with R32f format.


Tested in Mad Max,
also I'm having trouble reading previous frame with multiple render target setup.

code:
Warning: Spoiler! [ Click to expand ]
The following user(s) said Thank You: crosire

Please Log in or Create an account to join the conversation.

  • Posts: 92
4 years 9 months ago #2 by piltrafus
That looks very neat. Maybe an ingame config tool is coming soon but this gives you freedom to do it now and in your terms.
Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 1221
4 years 9 months ago #3 by Marty McFly
Use point sampling, then you can distinguish the single pixels better.

Please Log in or Create an account to join the conversation.