diff --git a/Effects/cloud.eff b/Effects/cloud.eff new file mode 100644 index 000000000..8171f1fcf --- /dev/null +++ b/Effects/cloud.eff @@ -0,0 +1,69 @@ + + + Effects/tree + + + + + + + + /sim/rendering/shader-effects + + 1.0 + + + + + + + true + + 0.5 0.5 0.5 1.0 + 0.5 0.5 0.5 1.0 + off + + + greater + 0.05 + + smooth + + src-alpha + one-minus-src-alpha + + + false + + + 10 + DepthSortedBin + + + 0 + 2d + texture[0]/image + clamp + clamp + + + Shaders/3dcloud.vert + Shaders/3dcloud.frag + + usrAttr1 + 10 + + + usrAttr2 + 11 + + + + baseTexture + sampler-2d + 0 + + true + + + diff --git a/Shaders/3dcloud.vert b/Shaders/3dcloud.vert index e199b0be6..ebf0de821 100644 --- a/Shaders/3dcloud.vert +++ b/Shaders/3dcloud.vert @@ -1,3 +1,4 @@ +// -*-C++-*- #version 120 varying float fogFactor;