Jump to content

Texture Bombing Tutorial


konstantin magnus

Recommended Posts

  • 1 year later...

@konstantin magnus

I try to add new feature to your texture bombing tool, I will like to have layer ability later like the old FX TD bommbing shader which is not compatible anymore and for now adaptive variable scaling work and alpha kind of works but not really like i want.

Do you know how i could reveal the underlying color?

 

i also try some stupid code like this but obviously

vector4 RGBAtex = colormap(image, tex);
f@Alpha = RGBAtex[3];
v@Cd = colormap(image, tex);
v@Cd += (1-@Alpha)*@color2;

 

thanks :)

 

image.thumb.png.f1be8a1dcb6adc6584c3aa328f8e6d3d.png

  • Like 1
Link to comment
Share on other sites

Also tried

 


vector color_sum = 0.0;
float alpha_sum = 0.0;
float alpha = RGBAtex[3];
vector color = colormap(image, tex);
float mask = alpha * (1.0 - alpha_sum);
color_sum += color * mask; alpha_sum += mask;


v@Cd = color_sum;
f@Alpha = alpha_sum;

 

________________________________________________________________

Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts

 http://fr.linkedin.com/in/vincentthomas

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...