Guest Red Ocktober Posted July 28, 2011 Share Posted July 28, 2011 the example in the docs don't work... SetWater(1) SetWaterHeight(-1.25) SetWaterColor(Vec4(0.75,0.75,0.75,1.0)) SetReflectionElements(ENTITY_MESH+ENTITY_TERRAIN) SetWaterAmplitude(32.0) SetWaterWaveSpeed(2.0) SetWaterSoftness(1.0) anyone help me out here... thx --Mike Quote Link to comment Share on other sites More sharing options...
Canardia Posted July 28, 2011 Share Posted July 28, 2011 Have you tried fw:SetWater(1) ? Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted July 28, 2011 Share Posted July 28, 2011 Have you tried fw:SetWater(1) ? thx mika... i was using some code based on old examples... your answer clued me into what i was doing wrong... rewriting the code with the framework in mind, the scene automatically loads the water as it appears in the editor... ... and Klepto's day night sequences as well. --Mike Quote Link to comment Share on other sites More sharing options...
dennis Posted October 4, 2011 Share Posted October 4, 2011 you forgot to add the water in the directory? fw.update() fw.render() ?? Quote Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted October 4, 2011 Share Posted October 4, 2011 no... that wasn't it D... i got it working... didn't set the fw object in lua until i saw the suggestions above... that clued me in on where i went astray... --Mike Quote Link to comment Share on other sites More sharing options...
dennis Posted October 6, 2011 Share Posted October 6, 2011 I let it work by adding the water to my scene and just use the scene file, it work great 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.