QodotPlugin / qodot-plugin

(LEGACY) Quake .map support for Godot 3.x
MIT License
981 stars 72 forks source link

ShaderMaterial Support #3

Closed Shfty closed 4 years ago

Shfty commented 4 years ago

Need to implement face properties in the TrenchBroom game config and parser, then output ShaderMaterial instances in the geo generator.

Shfty commented 4 years ago

Useful behaviour info here - https://quakewiki.org/wiki/Textures

Shfty commented 4 years ago

ShaderMaterials are supported as of the latest commit, and will apply in the same fashion as a SpatialMaterial override.

Parameters are expected to be pre-configured in Godot, since there's no general way to get meaningful face-specific data through via the map file outside of filtering via texture name (as per the default override setup) or bitmask, and those are broad enough to be considered a game-specific implementation detail that could be implemented with custom build steps.