Skip to main content
Inspiring
May 23, 2025
Answered

Creating your own GPU based adjustment layer?

  • May 23, 2025
  • 1 reply
  • 286 views

Is it possible theoretically?   I need an emboss adjustment layer  working on the fly  while I edit grayscale  layer composition . A photogrammetry produced height . For pre-view /visualize  purpose.    

The filter shader  itself is simple like 2x2 .       But  does Adobe have an SDK or something to write that sort of modifications/plugins ?  Something ready pre-made   maybe to change just the GPU shader part and re-compile?   Any open source attempts ? 

Correct answer creative explorer

@kirkr5689 in theory...yes, it's possible to have a live, GPU-accelerated emboss effect as an adjustment layer in Photoshop for your grayscale height maps, especially since a simple 2x2 shader is lightweight enough for real-time visualization. 

Adobe does offer SDKs, primarily the C++ SDK, that allow developers to create powerful plugins capable of such custom image processing, and while you can't just drop in a raw GPU shader to recompile Adobe's filters, a custom plugin could be built to apply your shader. There are open-source attempts, such as the "Shader Plugin for Photoshop," which is a promising tool that lets you write and run GLSL shaders directly within Photoshop, potentially offering a pre-made framework for your emboss effect without needing to build a plugin entirely from scratch.

1 reply

creative explorer
Community Expert
creative explorerCommunity ExpertCorrect answer
Community Expert
May 24, 2025

@kirkr5689 in theory...yes, it's possible to have a live, GPU-accelerated emboss effect as an adjustment layer in Photoshop for your grayscale height maps, especially since a simple 2x2 shader is lightweight enough for real-time visualization. 

Adobe does offer SDKs, primarily the C++ SDK, that allow developers to create powerful plugins capable of such custom image processing, and while you can't just drop in a raw GPU shader to recompile Adobe's filters, a custom plugin could be built to apply your shader. There are open-source attempts, such as the "Shader Plugin for Photoshop," which is a promising tool that lets you write and run GLSL shaders directly within Photoshop, potentially offering a pre-made framework for your emboss effect without needing to build a plugin entirely from scratch.

m
kirkr5689Author
Inspiring
June 16, 2025

Well, after some investigation  it looks like you can get a custom filter that way  but not an adjustment layer . I wonder if anyone managed to do custom adjustment layers for Phs?