Ie:color.r=0.7
blend DstColor one
SrcColor: constant(1,1,1,1)
//
Belnd DstColor zero
SrcColor: constant(0.5,0.5,0.5,0.5)
result color.r=0.7 not color.r=0.5
Ie:color.r=0.7
blend DstColor one
SrcColor: constant(1,1,1,1)
//
Belnd DstColor zero
SrcColor: constant(0.5,0.5,0.5,0.5)
result color.r=0.7 not color.r=0.5
Depends on the framebuffer.
Not clear enough,any official docs or help links would u offer?
http://www.opengl.org/registry/doc/glspec43.core.20120806.pdf
Floating-point framebuffer objects (chapter 9) are allowed to have values greater than 1.0. I don’t know how whether or how Unity supports them natively.
EDIT: I guess it does: http://docs.unity3d.com/Documentation/ScriptReference/RenderTextureFormat.ARGBFloat.html
I will check it out ,Thank u,guy
You are welcome, guy. ![]()
Another question,Does the Clamp 01 Operation always happens after the blend operation,even if the Framebuffer’ format is float
OK,I got it,“Use GL_RGBA16F_ARB or GL_RGBA32F_ARB for internal format instead of GL_RGBA8. These wont get clamped”.