From d1c59501214a4616fb65f2010072397f08e0e021 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 1 Dec 2005 22:16:07 +0000 Subject: Extra texture channel input for Mist effect; "Global". This feeds the global coordinate (from faces) to the sky texture color calculus, this to make textured mist a bit less transparent (was only view coordinate). --- source/blender/render/intern/include/pixelshading.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source/blender/render/intern/include/pixelshading.h') diff --git a/source/blender/render/intern/include/pixelshading.h b/source/blender/render/intern/include/pixelshading.h index 6b9e13c069f..9f4600209b5 100644 --- a/source/blender/render/intern/include/pixelshading.h +++ b/source/blender/render/intern/include/pixelshading.h @@ -68,12 +68,11 @@ enum RE_SkyAlphaBlendingType getSkyBlendingMode(void); /** * Render the sky at pixel (x, y). */ -void renderSkyPixelFloat(RE_COLBUFTYPE *collector, float x, float y); +void renderSkyPixelFloat(RE_COLBUFTYPE *collector, float x, float y, float *rco); +void shadeSkyPixel(RE_COLBUFTYPE *collector, float fx, float fy, float *rco); +void shadeSkyPixelFloat(float *colf, float *rco, float *view, float *dxyview); -/* used by shadeSkyPixel: */ -void shadeSkyPixelFloat(float *colf, float *view, float *dxyview); void renderSpotHaloPixel(float x, float y, float *target); -void shadeSkyPixel(RE_COLBUFTYPE *collector, float fx, float fy); void fillBackgroundImage(RE_COLBUFTYPE *collector, float x, float y); void fillBackgroundImageChar(char *col, float x, float y); -- cgit v1.2.3