gongpha / gdQmapbsp

A simple plugin that loads Quake's MAP/BSP files into Godot 4 interactively
MIT License
42 stars 5 forks source link

Materials & shaders overhaul #25

Closed gongpha closed 11 months ago

gongpha commented 11 months ago

Should fix #23

Change from one material for all surfaces in the map to each material per surface texture for ditching the over usage of the uniform arrays.

The surface shader is now dynamic and can be recompiled when changing the texture filter and render modes.

Note The texture filter switching option is not available right now because the latest Godot build (4.1.1) has an issue making it can't work. I will re-add this feature when 4.1.2 is released.

gongpha commented 11 months ago

Squash and force-pushed. My carelessness . . .

victorbstan commented 11 months ago

Tested it: "Works on My Machine(TM)" I can also use the Forward+ mode now, where before I had to use Mobile to see the textures. See animated and Fullbright textures 🥇