Ca fait du bien des fois une info à laquelle je ne comprends rien: voici un post et sa réponse tirés du forum officiel d’Unreal 2 :

Will the U2 shaders (vertex and pixel) be a normal text file like most shaders?

That kind of modability would be awesome.. drop a cartoon shader in instead of the standard one and walk through U2 as if it was the simpsons or some other kind of cartoon!

I suppose that would also be very cheater prone too though.. people would just put a basic silhouette shader in and be able to see everyone no matter how dark it is..

Anyway back to the question:
Will U2 allow modifications to the vertex and pixel shader files? (if you allow pixel shader moding then even if you don’t put bump mapping in anyone could with 1 or 2 lines of shader code; without recompiling)

Et la réponse:

Shaders will be modifiable, but I can’t give you specifics yet as to the interface for this since it’s not nailed down yet.

The one thing I can say for certain though is that you can’t drop in just any shader; it’ll need to be set up to conform to what the backing code expects in terms of vertex format and the data in the constant registers.

Because of compliance issues like this, it probably won’t be a straight text file process… but it should still be relatively simple.

Si quelqu’un pouvait nous faire une petite explication technique dans les commentaires…

Article précédentTrent Raznor pour la BO de Doom3?
Article suivantPunkbuster pour RtCW