while reading about dotproduct/dotproduct-squared i was wondering if there also is a feature that is quite similar to dotproduct. as far as i understood, dotproduct blends in another texture if the surface has a certain angle, which is very great for non-flat surfaces especialy certain forms of terrain as sock’s impressive pics showed.
couldn’t this “system” be used do randomly blend in “decals” on flat surfaces. kind of a dotproduct that instead of taking xyz arguments, takes minsize, maxsize, frequency (per64x64units?), and rotation (so the “decal” texture is rotated before being applied to the surface).
for example a metal door, getting a shader with this type of dotproduct could have random “splotches” of rust all over.
if this feature already exist, it would be great if someone tells me what to look for 
btw, i read somthing about overdraw related to dotproduct, does that mean, that all the textures defined in the shader are drawn, even if only one of them shows?

