Pointer Posted December 21, 2013 Share Posted December 21, 2013 So I'm currently working on a mod (3 player coop) and currently I've implemented a new camera system that works with zoom. Everything works fine, except that water stops rendering if you zoom out too far.Does anyone know how change that?For example, in Minecraft you have a "Render Distance" option. Is something like that coded in Don't Starve too?If anyone knows of the existence of such a thing, I will be really grateful if you tell me. Thanks in advance,Pointer. P.S. Here's a screenshot of what I mean in case I didn't explain it correctly: Link to comment https://forums.kleientertainment.com/forums/topic/30505-questionwater-rendering-problem/ Share on other sites More sharing options...
squeek Posted December 21, 2013 Share Posted December 21, 2013 (edited) Pretty sure it has to do with this code in prefabs/forest.lua (lines 92-95):--add waveslocal waves = inst.entity:AddWaveComponent()waves:SetRegionSize( 40, 20 )waves:SetRegionNumWaves( 8 )You can access it externally like so:GetWorld().WaveComponent Edited December 21, 2013 by squeek Link to comment https://forums.kleientertainment.com/forums/topic/30505-questionwater-rendering-problem/#findComment-392556 Share on other sites More sharing options...
Pointer Posted December 22, 2013 Author Share Posted December 22, 2013 Pretty sure it has to do with this code in prefabs/forest.lua (lines 92-95):--add waveslocal waves = inst.entity:AddWaveComponent()waves:SetRegionSize( 40, 20 )waves:SetRegionNumWaves( 8 )You can access it externally like so:GetWorld().WaveComponent Thanks a lot, I will look into it. Link to comment https://forums.kleientertainment.com/forums/topic/30505-questionwater-rendering-problem/#findComment-392728 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now