paysages3d/src/definition/GodRaysDefinition.cpp

13 lines
336 B
C++
Raw Normal View History

#include "GodRaysDefinition.h"
#include "FloatNode.h"
GodRaysDefinition::GodRaysDefinition(DefinitionNode *parent):
DefinitionNode(parent, "godrays", "godrays")
{
penetration = new FloatNode(this, "penetration", 0.01);
resistance = new FloatNode(this, "resistance", 0.3);
boost = new FloatNode(this, "boost", 8.0);
}