Author Topic: Add a 'not wet' track surface option for wet weather mapping  (Read 270 times)

h106frp

  • Hero Member
  • *****
  • Posts: 1837
    • View Profile
Add a 'not wet' track surface option for wet weather mapping
« 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

Steven

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Re: Add a 'not wet' track surface option for wet weather mapping
« Reply #1 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.

h106frp

  • Hero Member
  • *****
  • Posts: 1837
    • View Profile
Re: Add a 'not wet' track surface option for wet weather mapping
« Reply #2 on: August 22, 2018, 06:54:04 PM »
Thanks for the tip, I will give it a try.  :)

h106frp

  • Hero Member
  • *****
  • Posts: 1837
    • View Profile
Re: Add a 'not wet' track surface option for wet weather mapping
« Reply #3 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.


PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2523
    • View Profile
Re: Add a 'not wet' track surface option for wet weather mapping
« Reply #4 on: August 27, 2018, 11:20:45 PM »
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?
Obviously your ambition outweighs your talent

h106frp

  • Hero Member
  • *****
  • Posts: 1837
    • View Profile
Re: Add a 'not wet' track surface option for wet weather mapping
« Reply #5 on: August 27, 2018, 11:36:10 PM »
Thanks for replying, the tarmac has a shader and its multi-mapped.

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2523
    • View Profile
Re: Add a 'not wet' track surface option for wet weather mapping
« Reply #6 on: August 28, 2018, 09:03:00 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?
Obviously your ambition outweighs your talent

h106frp

  • Hero Member
  • *****
  • Posts: 1837
    • View Profile
Re: Add a 'not wet' track surface option for wet weather mapping
« Reply #7 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.

h106frp

  • Hero Member
  • *****
  • Posts: 1837
    • View Profile
Re: Add a 'not wet' track surface option for wet weather mapping
« Reply #8 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  ;)

« Last Edit: August 28, 2018, 10:54:38 PM by h106frp »