View Single Post
Old 11-06-10, 07:55 AM   #5
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Changing the color of a pixel to monochrom is very simple.

In a pixel shader simply return the color of a pixel as:
Code:
return Color.rgb=(Color.r+Color.b+Color.g)/3.0f;
Example: only the pixels of the water shader are set to monochrome with this function


The only problem can be to found a suitable SH5 shader or to develop a new shader that act as a post process shader and colors the entire scene

Quote:
Originally Posted by Illyustrator View Post
You think, that in the fortieth years the World was GREY!?
the time was grey, see here
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!
Seeadler is offline   Reply With Quote