Home Creators Posts Import Register Favorites Logout

Downloads

Content

As I mentioned a few times before, I really dislike the way new grass looks. Way too high by default, and when it’s set to be short, it just looks horrible. So here is an attempt #2: this time without any textures. Instead, each grass blade is a bit of geometry, five triangles for closer ones, one triangle in distance. Takes twice as much time to generate (I think it might be improved by adding skipping each 2nd frame), renders a bit faster, overall takes similar amount of time as before. And, no magic here, at low height it still doesn’t cover everything. 

But notice how much less weird whole surface-grass transition is! Now ground works with geometrical grass to create a complete look instead of billboardy grass desperately fighting and trying to cover the surface beneath.

Whole LODs transition is way smoother now too. And it can get some nice per-blade shading with saturated backlit (wrongly not shadowed in the video) and specular, plus a bit of noise texture keeping it less solid-colored.

Unfortunately that does mean some features, like high grass, per-track textures, specific types of grass or flowers, won’t work now. Well, high grass might work to some extend, but it might look too simple. I’ll try to find a solution allowing to bring some stuff back in, but realistically speaking, it seems like absolute most of racing tracks don’t need all that, and instead, they need grass which is short and tidy.

As for per-track customizations, instead of missing textures, I’ll try and make generation more adjustable, like height, bend of it and all that.

(At the end of the video, it shows different LODs in different colors, to highlight how many of those blades are there.)

And those headlights are almost ready too. There was new pretty cool discovery: it turns out the whole thing works pretty well with more modern lights, so now I added reflective map to support something more complicated than just chromy reflector, plus optional dynamic emissives map to support different lamps under the same glass. Now only thing left is to make it respect color and alpha values from original diffuse texture for glass tint and thickness, and fine tune a few things here and there. 

Files

Assetto Corsa - New grass

This time, without textures. Not as flexible, and there is no more flowers, but grass should be short and look reasonable with ground, and I believe this one does it better. Performance is similar to previous approach: generation is about two times slower, rendering is a bit faster. Still seems to be around 1.5 ms on 1060 GTX in worst case. But this time, its density can be easily adjusted and it’s not going to look all that horrible as it looked with reduced density before.

Comments

Josh Kerr

Can't wait to try both options Btw...it's possible add a tool integrated on CM for create lods automatically?

Ilja Jusupov aka x4fab

Oh, old grass is being replaced with new one, I don’t think I’ll keep it as an option. Would that be needed? As for tool, you mean based on Simplygon, right? Tried it a couple of days ago, couldn’t figure out how to deal with that editor of theirs. Maybe you would have some example?

Justin Grainger

simplygon lods aren't very useful if they cannot significantly reduce object counts - and they look terrible too like the car has been crushed

Josh Kerr

Sorry sorry, when i say "both", i meant the new grass and the headlights...my bad. And yes! Simplygon. I see a video tutorial (in spanish) and I automatically thought that if it was possible that you could put it in the CM showroom or whatever. I know it exists in Racedepartment Lod Generator, but it is very complicated to use and with the help of LeBluem in the CSP Discord I made one for the renault Twingo, but still, I went crazy. https://www.youtube.com/watch?v=lChq6wU7yJ8

Ilja Jusupov aka x4fab

Thanks for the link! I’ll try to add it, friend of mine tried it on a car he’s been working on today, and it worked wonders :)