Welcome, Guest.
Username: Password: Remember me

TOPIC: [resource] tweakable variables

[resource] tweakable variables 2 years 11 months ago #1

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 administrator has disabled public write access.
The following user(s) said Thank You: crosire

[resource] tweakable variables 2 years 11 months ago #2

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.
The administrator has disabled public write access.

[resource] tweakable variables 2 years 11 months ago #3

Use point sampling, then you can distinguish the single pixels better.
The administrator has disabled public write access.