intravenous

diff src/vein.h @ 5:aab0d8ea21cd

normalmap and sortof subsurface shader
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 22 Apr 2012 06:26:08 +0300
parents c6a6a64df6de
children 2723dc026c4f
line diff
     1.1 --- a/src/vein.h	Sun Apr 22 05:20:03 2012 +0300
     1.2 +++ b/src/vein.h	Sun Apr 22 06:26:08 2012 +0300
     1.3 @@ -14,6 +14,7 @@
     1.4  	int attr_tang_loc;
     1.5  
     1.6  	unsigned int tex_norm;
     1.7 +	Vector3 fog_color;
     1.8  
     1.9  	Vector3 calc_center(const Vector3 &ppos) const;
    1.10  	Vector3 calc_dir(const Vector3 &ppos) const;
    1.11 @@ -26,6 +27,8 @@
    1.12  
    1.13  	bool init();
    1.14  
    1.15 +	void set_fog_color(const Vector3 &col);
    1.16 +
    1.17  	void draw(const Vector3 &player_pos) const;
    1.18  };
    1.19