Atom Posted November 12, 2015 Share Posted November 12, 2015 (edited) HI All, I have a simple lava setup where the lava flows over some obstacles. This works fine. I am using the default lava1 shader that was generated by the shelf tools. I have created a new attribute on the points called my_emit_int and set it to the value of 1.0. I have manually set the emitint for the lava1 shader to 0.0. Thus the grey matte look of the fluid. I am using the following stylesheet code to override the exiting emitint with my_emit_int. // Houdini 15 style for stylesheets. { "styles": [ { "target" : {"pointGroup" : "*"}, "overrides" : { "materialParameters":{"emitint":{"script":{"binding":"my_emit_int"}}} } } ] } This stylesheet code produces no errors when rendering but it also does not work. my_emit_int attribute should take over the emitint value and set it to 1.0. This is not happening. What is the syntax for the stylesheet that I should use to successfully override a material parameter with an attribute? ap_lava_over_rocks.hipnc Edited November 12, 2015 by Atom Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.