blueapples Posted July 25, 2016 Share Posted July 25, 2016 Is there any way to have random tree/vegetation sizes other than having multiple copies of each model at different sizes and painting over the same areas? Maybe something I can tweak in a shader to randomly scale vegetation models based on their x,y position on the terrain? Quote Link to comment Share on other sites More sharing options...
macklebee Posted July 25, 2016 Share Posted July 25, 2016 It already does random sizes on the vegetation when painting them onto the terrain? Maybe I am not understanding what you are asking for? Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
blueapples Posted July 25, 2016 Author Share Posted July 25, 2016 Hmm, I guess it does, but the effect is very subtle for me -- so much so I didn't detect it in my map. I would expect the largest version to be at least 3-4x the size of the smallest (along a bell curve) since that would represent a realistic distribution for a real forest. Quote Link to comment Share on other sites More sharing options...
Josh Posted July 26, 2016 Share Posted July 26, 2016 I think there would be problems with that. A tree that is four times bigger than another of the same species has really different proportions. Think of a sapling versus a large oak tree. There might be some more customization added later at some point, but I think the default of 0.75-1.25x is pretty good. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Crazycarpet Posted July 26, 2016 Share Posted July 26, 2016 I think there would be problems with that. A tree that is four times bigger than another of the same species has really different proportions. Think of a sapling versus a large oak tree. There might be some more customization added later at some point, but I think the default of 0.75-1.25x is pretty good. There's no way to make it so we can specify the range of scale we want? Quote Link to comment Share on other sites More sharing options...
blueapples Posted July 26, 2016 Author Share Posted July 26, 2016 Yeah all I am really asking for is a couple options on each vegetation item that allow us to specify the range. Seems like art direction should be up to whoever is making the game, if the tree size is inconsistent that's the developer's problem. The engine isn't supposed to just be a game maker with all predefined presets right? This would be less painful for me if the limit on the number of vegetation items was higher. Quote Link to comment Share on other sites More sharing options...
nick.ace Posted July 26, 2016 Share Posted July 26, 2016 You can just edit the vegetation shader. I'll update this answer once I find the right line. Edit: So what you have to do is this: Go to your materials for your vegetation, go to the shader tab, press the pencil button next to the "Vegetation" shader A screen should pop up, change the stage to "Vertex" There's a line about adjusting the scale. This scaling variable is what you need to change. You need to do this for all materials of your vegetation. You will see an equation that sets the scale Make two new float variables for your range (i.e. "float small", "float large") Replace the .x scaling range variable with "small" and the .y scaling range variable with "large" Now your vegetation will scale within those ranges. 2 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.