资 源 简 介
Made with impression of http://www.iro.umontreal.ca/~derek/publication1.html article this plug-in builds volumetric effect enveloping set of line segments with ability to control it"s appearance with CVEX-shader.
Description
Uses set of 2-points primitives as base geometry, spooled to bgeo file
May reuse next attributes with beam building - color Cd, float width, normal N
~~Ejects 2 shading variables with CVEX shader - color Cd, color Os~~ Now produced one vector4 Bs variable - you may assume it as color with alpha.
CVEX shader allows use any external parameters as uniform, excluding set of varying parameters - point P, color Cd, vector L, float Bl, float r, float id
Point P is real world position of currently shaded point
Color Cd is calculated from nearest beam point and its Cd attribute
Float Bl is current beam length
Float r is distance to nearest beam base line, normalized with width-parame