[resource] tweakable variables

More
4 years 11 months ago #1 by kingeric1992
[resource] tweakable variables was created 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!
The following user(s) said Thank You: crosire

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

More
4 years 11 months ago #2 by piltrafus
Replied by piltrafus on topic [resource] tweakable variables
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.

More
4 years 11 months ago #3 by Marty McFly
Replied by Marty McFly on topic [resource] tweakable variables
Use point sampling, then you can distinguish the single pixels better.

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