Welcome, Guest.
Username: Password: Remember me

TOPIC: how to have mcfx dof disabled but can toggle on?

how to have mcfx dof disabled but can toggle on? 6 months 1 week ago #1

(using reshade framework)
as it is, every time i alt-tab out and back i have to turn DoF off to see my UI properly and that's pretty annoying when I'm trying to look at lists of ingredient locations for crafting or somesuch. i'd like to have the DoF disabled by default, but then when I hit the toggle key, have it turn on. is that possible?
The administrator has disabled public write access.

how to have mcfx dof disabled but can toggle on? 6 months 1 week ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2446
  • Thank you received: 1388
Find the technique definition in McFX\DOF.h and set the "enabled" annotation to "false". That way it starts disabled.
technique DepthOfField_Tech < enabled = false; ... >
{
...
}
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: maximumstats

how to have mcfx dof disabled but can toggle on? 6 months 1 week ago #3

thank you for your quick response! it works exactly as i wanted. :)

since its slightly different, i thought id post how my line now looks for searchability's sake:
technique DoF_Tech <bool enabled = false; int toggle = DoF_ToggleKey; >
The administrator has disabled public write access.