Page MenuHomeWildfire Games

Fixes water foam texture size after scale
Needs ReviewPublic

Authored by vladislavbelov on Tue, Apr 9, 8:11 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Refs rP28010.

Test Plan
  1. Apply the patch and compile the game
  2. Run the game with enabled water effects
  3. Scroll the scale from 50% to 200%

Event Timeline

vladislavbelov created this revision.Tue, Apr 9, 8:11 PM

@vladislavbelov Thank you very much for providing the patch, which solved this problem.

vladislavbelov published this revision for review.Wed, Apr 10, 10:42 AM
Stan added a subscriber: Stan.Wed, Apr 10, 2:30 PM

Any reason the renderer and the postproc manager would have different sizes ?

In D5257#223695, @Stan wrote:

Any reason the renderer and the postproc manager would have different sizes ?

Yeah, because we have multiple render targets with different resolutions depending on a pass: window resolution (UI and post effects), scene resolution (scaled by postprocmanager), reflection/refraction resolution, shadow map resolution.

Stan added a comment.Fri, Apr 12, 6:11 PM

Ah makes sense.

phosit added a subscriber: phosit.Fri, Apr 12, 7:20 PM
phosit added inline comments.
source/renderer/TerrainRenderer.cpp
614

Why did you remove the static_casts?