我需要在OpenGL ES 1.1代码中模仿Photoshop混合模式(“multiply”,“screen”等)(不使用着色器)。
有一些关于如何使用HLSL实现此功能的文档:
- http://www.nathanm.com/photoshop-blending-math/ (存档)
- http://mouaif.wordpress.com/2009/01/05/photoshop-math-with-glsl-shaders/
我至少需要Screen模式的工作实现。
是否有任何固定管线的实现可以参考?