20 Commits

Author SHA1 Message Date
Bertrand Guay-Paquet cb0dc39bf3 Add link to the contrib repository for custom visualisation 2022-04-22 13:49:56 +01:00
baldurk 9c1eeed29b Fix copy-paste error with GLSL unsigned integer texture declarations 2022-03-30 12:51:36 +01:00
baldurk 3ac4bd0ebd Refactor custom shaders to abstract binding differences. Closes #2458
* Newly written shaders and any updated shaders can now use pre-defined macros
  to abstract away binding differences between APIs, so custom shaders will be
  more portable in particular shaders written in HLSL for D3D or GLSL on OpenGL
  won't break on vulkan because they refer to incorrect binds.
2022-01-31 19:14:08 +00:00
Mikkel Gjoel 41d39b58ce Pass range-min/max to ApplyCustomShader
Adding rangeminmax to globals, snippet support and updated docs to match

Fixes bug in replay_output.cpp, causing a crash due to missing texhandle
2021-11-03 20:26:18 +00:00
baldurk e4333291a1 Allow using shader processing tools for custom shaders
* This is primarily useful for HLSL on Vulkan, but could be used with any other
  combination. If multiple tools can perform the conversion, the highest
  priority one is used.
2019-05-22 17:54:10 +01:00
baldurk 383d8158cc Fix docs build with missing end string terminator 2018-12-14 20:42:45 +00:00
baldurk 13e7d1c134 Support display of YUV textures on D3D11, D3D12 and Vulkan
* Supported textures are decoded into standard format of YUVA, displayed
  visually with Y in green, U in blue, V in red.
* A new texture display mode 'YUVA decode' has been added which does a default
  full-range conversion from YUV to RGB.
* Custom shaders can be used to implement a custom decode matrix.
2018-12-14 20:14:07 +00:00
baldurk 933c00985d Update documentation for v1.0
* Screenshots and icons are updated to latest style
* Many out-dated references and mentions of support updated.
* Documentation added for new windows like resource inspector and
  performance counter viewer, as well as new features like saving
  bookmarks, resource names.
* Added documentation for Android support as well as OpenGL ES support.
2018-02-25 23:27:13 +00:00
baldurk c1591a5fe6 Update docs with D3D12 support and progress on Qt 2016-11-28 12:42:15 +01:00
baldurk 0c06590df3 Remove cubemap binding from D3D/HLSL texture view. Just use 2D array 2016-11-18 16:31:05 +01:00
baldurk 4f06161fb9 Update template custom shader to include UV, add new globals. Refs #304 2016-07-26 15:18:45 +02:00
baldurk 89402c03bf Add a note about the VULKAN predefined macro. 2016-07-25 11:39:50 +02:00
baldurk a001f35329 Output UVs in [0,1] from blit shader, for custom vis shaders. Refs #304 2016-07-25 11:39:49 +02:00
baldurk ffa96736ee Add required 'uniform' to glsl varaibles in documentation 2016-07-25 11:39:48 +02:00
baldurk fefb6b2526 Pass selected slice/face and sample idx to custom vis shaders. Refs #304 2016-07-25 11:39:47 +02:00
baldurk 8b64868025 For GLSL, insert text after #version statement. 2016-06-09 10:48:50 -07:00
baldurk 22d58cf739 Implement custom display shaders for vulkan 2016-06-09 10:48:44 -07:00
baldurk 8bc80b41b0 Various improvements/tweaks/missing bits/extra links
* General proof-reading pass on the new docs, so some of these issues
  are old and just haven't been noticed before.
2016-05-16 20:01:15 +02:00
baldurk 81a1b2e020 Add syntax highlighting 2016-05-15 21:34:00 +02:00
Matthäus G. Chajdas 925f33bfb5 Add all How do I ...? pages. 2016-05-15 21:33:52 +02:00