olzlion.blogg.se

Crosire reshade shaders for fs19
Crosire reshade shaders for fs19






How should shader devs define their toggle key variables so they're also editable? * I defined a toggle key variable as uniform, but it's then not usable in a technique. Same goes for settings which are currently an int as they're #defined and used in preprocessor directives, but are actually toggles. This might be doable by specifying what ui_type is required. what to use for bool or key selectors? Float3/4's are now displayed as a 3 or 4 value drag set, but if it's a color, a color picker would be better. * Do you have a small list of ui_type values? E.g. * The textures and samplers defined in v2 Reshade.fx, they're going to be available in v3 automatically or do they need to be defined by each shader? COLOR and DEPTH are available automatically I presume? * The constants defined in Reshade.fx, like BUFFER_WIDTH, BUFFER_RCP_WIDTH, they're going to be available too? Yes they are I presume they are, so can a shader dev assume they are equally named? Yes they are (but you have to define them yourself). * The various uniforms which are defined in v2, are they available in v3 too? E.g. As various effects use the depth buffer, it's silly to have each effect edit the same settings for depth buffer linearization. * The global.cfg values, they're going to be editable in the 'Settings' section I presume? The main issue is of course the settings for the depth buffer. So a couple of questions to get porting started:

crosire reshade shaders for fs19

Version 2 uses a global.cfg, but v3 doesn't. I immediately ran into a bit of a problem: reshade.fx's contents. A separate topic for this important subjectĪs a test I'll port my own (not to difficult) shaders from v2 to v3 format.








Crosire reshade shaders for fs19