DX10 Fixer has been released and although it fixes night textures, PAPI lights and runway lights at OMDB still appear as black boxes in day time and I was wondering whether this could be looked at again please?
Steve has provided a DX10 status report here
http://stevesfsxanalysis.wordpress.com/ ... ion-check/
which may be useful particularly the last paragraph:
regardsSo how can this bug be avoided?
I believe that it only affects simple objects that have just one texture sheet with transparency. From observation it doesn’t seem to affect more complex objects. I presume that these are deemed too complex for this form of cross instance batching. I am unsure of the precise rule that applies here (since I haven’t had time to run a set of tests).
When talking about a texture I mean a named texture file. If you copy the texture sheet that becomes a separate texture in draw call batching terms.
The first thing to do is to find out where the tile boundaries are – it seems to be based on the LOD17 boundary. If one runs through your airport don’t use the same grass texture file for transparency on both sides.
You can duplicate the texture and the grass model and then use one model on each side.
You can add a second texture sheet into the model (note I am not 100% sure of the rules here).
For alpha blending DX10SceneryFixer offers a simple workaround without duplicating textures– if you change the transparent material to have a Final Alpha Blend set True and a Blend Factor of 1.0 then DX10SceneryFxier will force on alpha blending in the shader.
The second approach is simple but be aware that your model is no longer rendered in a single write but large number of alternating writes of the two textures. Thus this makes sense for an object that appears a small number of times but not for grass or lights. (i.e. if the model appears say 10 times its ok, more than that it may be performance affecting)
For PAPI lights I think (but haven’t proved) that the workaround would be not to use a single large texture sheet that holds all the variants but one small sheet for each division
Paul