PBR spec probes shouldn't be linear filtered

This commit is contained in:
Robert Beckebans 2021-04-23 00:55:53 +02:00
parent 8d1e7c5afd
commit f7e898bb61
2 changed files with 254 additions and 254 deletions

File diff suppressed because it is too large Load diff

View file

@ -772,7 +772,7 @@ void R_DeriveEnvprobeData( RenderEnvprobeLocal* probe )
probe->irradianceImage = globalImages->ImageFromFile( fullname, TF_LINEAR, TR_REPEAT, TD_R11G11B10F, CF_2D_PACKED_MIPCHAIN );
fullname.Format( "env/%s/envprobe%i_spec", basename.c_str(), probeIndex );
probe->radianceImage = globalImages->ImageFromFile( fullname, TF_LINEAR, TR_REPEAT, TD_R11G11B10F, CF_2D_PACKED_MIPCHAIN );
probe->radianceImage = globalImages->ImageFromFile( fullname, TF_DEFAULT, TR_REPEAT, TD_R11G11B10F, CF_2D_PACKED_MIPCHAIN );
// ------------------------------------
// compute the probe projection matrix