source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[All] Add bicubic lightmap sampling support to VertexLitGeneric

Open AndrewBetson opened this issue 11 months ago • 2 comments

Description

This PR adds support for bicubic lightmap sampling to VertexLitGeneric's lightmapped (non-bump/non-Phong) path.

Below are some demonstration screenshots taken on the TF2 map rd_asteroid. Admittedly this is the only official map I could find with substantial usage of lightmapped props -- fitting given that the feature was developed specifically for this map.

Disabled Enabled

AndrewBetson avatar Mar 10 '25 18:03 AndrewBetson

Lets hope people actually have margins on their props.. Or they get the same issue we had before the SDK Update, where they hacked in a 1 pixel outline for Brush Lightmaps..

WhiteRedDragons avatar Mar 13 '25 14:03 WhiteRedDragons

Lets hope people actually have margins on their props.. Or they get the same issue we had before the SDK Update, where they hacked in a 1 pixel outline for Brush Lightmaps..

Wonder if it would make sense to have bicubic prop lightmaps use a separate cvar from bicubic brush lightmaps, in that case. Honestly, I wish it was a VMT boolean.

SirYodaJedi avatar Mar 19 '25 23:03 SirYodaJedi