Hamza97, on 26 May 2022 - 08:01 PM, said:
Try separating the alpha and rest of texture into two separate material ( & textures ) and then modifying the shape file in the same way as I did. Worth a shot maybe ... :wtf01:
Hi Hamza97,
Your suggestion of adding an additional material/texture to the model for the 'glass' objects has worked around the issue I was experiencing. I tried different combinations of geometry configuration but these did not make any difference in my model. There was no requirement for me to manually edit the .S file to achieve this result.
In my .S file I still have:
shader_names ( 1
named_shader ( BlendATexDiff )
)
Though further down the .S file I have the reference to the additional ace file that has been applied to the windows.
images ( 2
image ( cab_generic_emd.ace )
image ( cab_generic_emd_windows.ace )
)
textures ( 2
texture ( 0 0 0.0 ff000000 )
texture ( 1 0 0.0 ff000000 )
)
An unexpected and perplexing benefit was an additional ~6 FPS.
My preference would have been just to have a single texture applied to the entire model so that it had consistent and expected behaviour like in OR v1.3, but I am moving on.
My thanks to everyone who helped work the problem.
Cheers,
Marek.