frustum Posted November 15, 2012 Share Posted November 15, 2012 1. Create a new material which is inherited from the "mesh_base" material for example. 2. Add a new "texture_transform" constant type parameter into the new material: <parameter name="texture_transform" type="constant">0.0 0.0 0.0 0.0</parameter> 3. Change the "base_transform" expression to the following one: <parameter name="base_transform">getParameter("texture_transform")</parameter> 4. Now you can change the "base_transform" parameter without expression recompilation. Link to comment
ulf.schroeter Posted November 15, 2012 Share Posted November 15, 2012 Nice trick, is this already possible with current SDK version or will this be a feature of upcomming SDK ? Link to comment
frustum Posted November 15, 2012 Author Share Posted November 15, 2012 This functionality is already available. Link to comment
ivan.cuevas Posted November 15, 2012 Share Posted November 15, 2012 It would be nice to have a wiki with these "frustum gems" and similar stuff :( 2 Link to comment
phil.marcks Posted October 12, 2014 Share Posted October 12, 2014 would be nice being able to change that with tracks as well Link to comment
Recommended Posts