FWGS / xash3d-fwgs

Xash3D FWGS engine
1.58k stars 241 forks source link

Realistic lightmap (16x16 to 1x1 lightmap) #1802

Closed Vad1mCSO2 closed 3 months ago

Vad1mCSO2 commented 3 months ago

fu_plainhop_0001 This feature can shadow realistic than default shadow image Command used: gl_texture_nearest 1 and gl_lightmap_nearest 1

a1batross commented 3 months ago

It's already implemented by Uncle Mike in bsp30ext.

As for existing maps, I don't think it's possible to do anything with them.

Vad1mCSO2 commented 2 months ago

I mean for existing maps

mittorn commented 2 months ago

I think, this needs separate utility that change lightmap scales on map

After rescaling lightmap, need recalculate it with light/rad ulility Changing lightmap resolution with external lightmap is not possible now. Yes, it can be implemented somewhere else, for example, you can overload engine renderer with renderapi and load external lightmap lumps changing scale

SNMetamorph commented 2 months ago

I think, this needs separate utility that change lightmap scales on map After rescaling lightmap, need recalculate it with light/rad ulility Changing lightmap resolution with external lightmap is not possible now. Yes, it can be implemented somewhere else, for example, you can overload engine renderer with renderapi and load external lightmap lumps changing scale

No other utilities are needed for this. Map just can be recompiled with rad tool with desired resolution and maybe some other settings.

a1batross commented 2 months ago

I think, this needs separate utility that change lightmap scales on map After rescaling lightmap, need recalculate it with light/rad ulility Changing lightmap resolution with external lightmap is not possible now. Yes, it can be implemented somewhere else, for example, you can overload engine renderer with renderapi and load external lightmap lumps changing scale

No other utilities are needed for this. Map just can be recompiled with rad tool with desired resolution and maybe some other settings.

I don't they are interested in maps for which they have rad files and all light entities intact. Vanilla HL for example does have all light entities, but not the rad files.