Computer Graphics: Difference between revisions

Line 171: Line 171:
In frameworks and libraries, these are often refered to as ''standard materials'' or in Blender, ''Principled BSDF''.
In frameworks and libraries, these are often refered to as ''standard materials'' or in Blender, ''Principled BSDF''.


===Blending and Pixel Formats===
==Blending and Pixel Formats==


====Pixel Formats====
===Pixel Formats===


====Blending====
===Blending===


To output transparent images, i.e. images with alpha, you'll generally want to blend using [[Premultiplied Alpha]]. Rendering in premultiplied alpha prevents your RGB color values from getting mixed with the background color empty pixels.
To output transparent images, i.e. images with alpha, you'll generally want to blend using [[Premultiplied Alpha]]. Rendering in premultiplied alpha prevents your RGB color values from getting mixed with the background color empty pixels.