summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e55f79c)
This can be used to e.g. change the sampler type of the diffuse map. At
the moment the appropriate sampling function also needs to be overridden
since texcoord dimensions are not handled automatically.
VariableDeclaration *&ptr = variables[var.name];
if(ptr)
{
VariableDeclaration *&ptr = variables[var.name];
if(ptr)
{
if(var.init_expression)
ptr->init_expression = var.init_expression;
remove_node = true;
if(var.init_expression)
ptr->init_expression = var.init_expression;
remove_node = true;