Jump to content

How to set reflection_mask parameter in water material


photo

Recommended Posts

How to set reflection_mask parameter in water material via script?

 

Try following code

 

Material mat = <your water material>;

mat.setParameterExpression( mat.findParameter("reflection_mask"), "0xffffffff" );

Link to comment
×
×
  • Create New...