Welcome, Guest.
Username: Password: Remember me

TOPIC: [resource] tweakable variables

[resource] tweakable variables 1 year 4 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 1 year 4 months ago #2

  • piltrafus
  • piltrafus's Avatar
  • Offline
  • Posts: 78
  • Thank you received: 15
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 1 year 4 months ago #3

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 689
  • Thank you received: 767
Use point sampling, then you can distinguish the single pixels better.
The administrator has disabled public write access.