PiBoSo Official Forum

GP Bikes => Suggestions and wishlist => Topic started by: h106frp on August 21, 2018, 10:56:08 PM

Title: Add a 'not wet' track surface option for wet weather mapping
Post by: h106frp on August 21, 2018, 10:56:08 PM
Could we have an option to declare that a TRK surface does not appear wet (but could stll show a puddle map maybe to allow a transition) when you select rain? It always looks odd that pit garages are fully wet when they are indoors.

Thank you
Title: Re: Add a 'not wet' track surface option for wet weather mapping
Post by: Steven on August 22, 2018, 05:59:32 PM
In the Victoria folder for example there is a file called victoria.roc. It declares a rectangle under which the surfaces stay try. It's visible in TrackEd as well.
Title: Re: Add a 'not wet' track surface option for wet weather mapping
Post by: h106frp on August 22, 2018, 06:54:04 PM
Thanks for the tip, I will give it a try.  :)
Title: Re: Add a 'not wet' track surface option for wet weather mapping
Post by: h106frp on August 27, 2018, 10:28:01 AM
Gave it a try and its a bit disappointing, when you enter the box it switches of all wet shading. Trying to do a track bridge section so it looks very odd with the track beyond the bridge going wet/dry/wet.

Title: Re: Add a 'not wet' track surface option for wet weather mapping
Post by: PiBoSo on August 27, 2018, 11:20:45 PM
Quote from: h106frp on August 27, 2018, 10:28:01 AM
Gave it a try and its a bit disappointing, when you enter the box it switches of all wet shading. Trying to do a track bridge section so it looks very odd with the track beyond the bridge going wet/dry/wet.

Is there a shader on the tarmac texture?
Are you using multi-mapping?
Title: Re: Add a 'not wet' track surface option for wet weather mapping
Post by: h106frp on August 27, 2018, 11:36:10 PM
Thanks for replying, the tarmac has a shader and its multi-mapped.
Title: Re: Add a 'not wet' track surface option for wet weather mapping
Post by: PiBoSo on August 28, 2018, 09:03:00 PM
Quote from: h106frp on August 27, 2018, 11:36:10 PM
Thanks for replying, the tarmac has a shader and its multi-mapped.

Does the shader include bump?
Is multimapping used for groove or rain puddles? Or both?
Title: Re: Add a 'not wet' track surface option for wet weather mapping
Post by: h106frp on August 28, 2018, 10:00:57 PM
The shader has bump mapping and specular on the base texture, tried with and without a shader on the detail multimap but the result is the same.

I have multimapped and shadered the tarmac (base tarmac+detail) and mapped rain puddles (nothing in RGB, puddles in alpha, no shader). The track is using dynamic surface for the groove.

I am just experimenting in what I can achieve with this track surface and the results are very nice so far, jst the issues when you go to wet conditions.

Also noticing a big frame rate hit with wet conditions, I have reduced the size of the puddle map down to 256 but this appears to make no difference to frame rate hit.
Title: Re: Add a 'not wet' track surface option for wet weather mapping
Post by: h106frp on August 28, 2018, 10:26:56 PM
2 images taken from the same location but turning head to change view (EdTracker) frame rate indicated. The confusing thing is that the view with less detail has half the frame rate of the view with a lot of object and distant view. I have noticed this strange behavior quite a lot (dry and wet) as if the Z culling is not functioning correctly, noticeably worse in the wet as the frame rate has generally dropped by 50% at these locations to start with.

Generally track detail level appears OK with >100fps in the dry even in detailed areas, just at certain view points the frame rate drops for no obvious reason.

The puddles are mapped to simulate wet areas where there would be a lot of rubber down (groove) and some normal puddles in the run-off areas, It would be nice to add standing water to the track though  ;)

(https://lh3.googleusercontent.com/r3-b39y9QvJTR9-nSZjX0z9x8oJC9LtcXzhvlbOwzOfniG3xvhRkzJbXAKzIYWVWhn7SZ2u4o6VSfPrb0b0Tr9-3o9_DfMrmHkqBjHELaH9VM2S1JzHsw39FQwOZ15c7DC6DCwCAT482FCJZ_ZXrvRF1FPEVYNc2NgIdKb1oX5F5tt9kOlxCJq1x-TN-MKywKZWGzrAgKHeVhxeCDJph7YE7wm2Ygdnfq84w307X-JN68mmJTe3Ft9l6XIf9n8dWN8wxBCYjnLB1-eU6yH9FnefMeFpn4Yg4kdsxtgkA9_--LEkq6nZn7s-Ks07cyHzI0FkQMByi8ZhVQXJQ_oCxWKMAD7qXKaIHR4tNUFQWyM7cGyoQ0LHcZmOAR-EWgG_IGU2MNElWuxRduB7BPd5C5V7rA2DgMgWN2drIGsEUDSTLibd43kqAXIbczwsVZZW8nUrXAeq3YSlxDg-hHq5UrjFpcAbsUKPH9x2reW4mKiocjrtjLqzp9zTBhAzAa7mQdhOC17FUCJ54wbdPanfKOUhIJJP3K8nLavVtohzGWsmykFydY5xFfnZj9-et6xyX1oTvyOIvKi6SZSKI4Sza76OIQX3QNWW24T_jm4CHFUtwGzSpylgttVK_C6GKOrs=w1019-h859-no)