PBR-2-Source: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Rewrite article to better describe application as of latest version. - Baguettery/koerismo)
m (Supported Games --> Supported games)
 
Line 3: Line 3:
{{pbr2source|4.1}} is a tool written in {{Python|4}} by '''koerismo''' that can be used to port PBR materials to a wide variety of {{src|4.1}} games, even those without PBR shader support. When converting to standard shaders, it uses several algorithms to approximate roughness and metalness with a combination of [[Phong materials|Phong]] and [[$envmap|$envmap]] reflections. When converting for use with a PBR shader, it simply combines the provided textures. On export, a VMT file will be created that defines the material for use in-game.
{{pbr2source|4.1}} is a tool written in {{Python|4}} by '''koerismo''' that can be used to port PBR materials to a wide variety of {{src|4.1}} games, even those without PBR shader support. When converting to standard shaders, it uses several algorithms to approximate roughness and metalness with a combination of [[Phong materials|Phong]] and [[$envmap|$envmap]] reflections. When converting for use with a PBR shader, it simply combines the provided textures. On export, a VMT file will be created that defines the material for use in-game.


==Supported Games==
==Supported games==
This is the official list of games supported by PBR-2-Source. If a game is not listed here, it may still work, but the program will not be able to account for any game-specific caveats.
This is the official list of games supported by PBR-2-Source. If a game is not listed here, it may still work, but the program will not be able to account for any game-specific caveats.
* {{ep2|4}} (Requires testing)
* {{ep2|4}} (Requires testing)

Latest revision as of 19:14, 4 August 2024

The PBR-2-Source v1.0 interface

PBR-2-Source PBR-2-Source is a tool written in Python Python by koerismo that can be used to port PBR materials to a wide variety of Source Source games, even those without PBR shader support. When converting to standard shaders, it uses several algorithms to approximate roughness and metalness with a combination of Phong and $envmap reflections. When converting for use with a PBR shader, it simply combines the provided textures. On export, a VMT file will be created that defines the material for use in-game.

Supported games

This is the official list of games supported by PBR-2-Source. If a game is not listed here, it may still work, but the program will not be able to account for any game-specific caveats.

See also

External links