|
|
Sepia:
#declare sepia_amount=0.7;
tonemapping {
parameters { red,green,blue}
function(r,g,b,x,y)
{r*(1-sepia_amount)+min(1,r*(.393/2.2)+g*(.769/2.2)+b*.189)*sepia_amount}
function(r,g,b,x,y)
{g*(1-sepia_amount)+min(1,r*(.349/2.2)+g*(.686/2.2)+b*.168)*sepia_amount}
function(r,g,b,x,y)
{b*(1-sepia_amount)+min(1,r*(.272/2.2)+g*(.534/2.2)+b*.131)*sepia_amount}
}
--
jaime
Post a reply to this message
Attachments:
Download 'hourglass-02-tonemapping-sepia.jpg' (77 KB)
Preview of image 'hourglass-02-tonemapping-sepia.jpg'
|
|