dan thompson
48136a6f1f
Testing the alpha detection based on the channel source info.
...
#rb fabian.giesen
#jira UE-175146
[CL 30693168 by dan thompson in ue5-main branch]
2024-01-18 14:54:53 -05:00
charles bloom
e259c1cc1f
Texture fix some logic treating long-lat cubemaps as nonpow2 when they are in fact always pow2 after building even if source was nonpow2
...
Also make the default import settings of using no mip maps for nonpow2 textures only apply to 2d textures
#rnx
#rb fabian.giesen
[CL 30574965 by charles bloom in ue5-main branch]
2024-01-11 14:53:06 -05:00
charles bloom
3a4e13401f
ImageCore ScaleChannelsSoMinMaxIsInZeroToOne replicates the behavior of the RenderTarget UNorm ReadPixels modifier
...
scales image outside [0,1] so that it is inside
uses ImageParallelFor
#rnx
[CL 30130491 by charles bloom in ue5-main branch]
2023-12-05 15:01:49 -05:00
charles bloom
0ccd098e9c
TextureCompressorModule : fast path for common SourceEncoding conversions
...
sRGB conversion is 2X faster just because it is one pass over the image instead of two
#rnx
[CL 29480364 by charles bloom in ue5-main branch]
2023-11-05 10:37:37 -05:00
charles bloom
f7f6576b6d
Texture Downscale use new ResizeImage, if NewFilter
...
#rb jon.olick
#rnx
[CL 29426689 by charles bloom in ue5-main branch]
2023-11-03 18:32:37 -04:00
charles bloom
cf6ad9f1c2
Texture: make stretch-to-pow2 use new ResizeImage
...
bump ddc key for affected textures
#rnx
#rb fabian.giesen
[CL 29369767 by charles bloom in ue5-main branch]
2023-11-02 12:42:56 -04:00
charles bloom
92e4e91612
nop comments only; mark some of the bad image resizers in UE and redirect users to the new ResizeImage
...
not actually deprecated yet, need to keep legacy behavior to avoid patches
todo actually remove use of the old resize functions and deprecate them
#jira UE-163527
#rnx
[CL 29248582 by charles bloom in ue5-main branch]
2023-10-30 16:35:55 -04:00
alexander suvorov
795fd1edf1
Implement Resize to Specific Resolution texture padding and resizing option.
...
#jira UE-158070
#rb Dan.Thompson
[CL 28425273 by alexander suvorov in ue5-main branch]
2023-10-03 14:56:03 -04:00
alexander suvorov
7d23806b95
Implement PadWithBorderColor texture setting.
...
#jira UE-158070
#rb Dan.Thompson
[CL 28253332 by alexander suvorov in ue5-main branch]
2023-09-26 18:49:57 -04:00
Szmyk
1b7d725edc
Fix for typo in non pow2 volume texture mip count computation.
...
#jira UE-196278
#10907
#rb fabian.giesen
[CL 28201841 by Szmyk in ue5-main branch]
2023-09-25 15:54:57 -04:00
alexander suvorov
56126d98a9
Add Stretch to Power Of Two mode in Texture Settings.
...
#jira UE-160620
#rb Dan.Thompson
[CL 27575466 by alexander suvorov in ue5-main branch]
2023-09-01 21:44:43 -04:00
dan thompson
bb9bc58b72
CPU accessible textures
...
#rb fabian.giesen
#rb charles.bloom
[CL 26655002 by dan thompson in ue5-main branch]
2023-07-27 16:46:23 -04:00
eric renaudhoude
c0e4318bcb
ColorManagement: Fixed DDC2 texture build for advanced source color/encoding settings, added dependency on OpenColorIO library version for key invalidation.
...
#jira UE-188952
#rb dan.thompson
[CL 26442009 by eric renaudhoude in ue5-main branch]
2023-07-18 14:44:35 -04:00
eric renaudhoude
05b88f3bec
[Resubmitting with fix]
...
-----------------------------------------------------------------
ColorManagement: Utilize OpenColorIO for advanced color space transformations on textures during mip generation.
Relies on CL 26098047.
#jira UE-182792
#rb rod.bogart, dan.thompson, charles.bloom
[CL 26109698 by eric renaudhoude in ue5-main branch]
2023-06-19 19:10:44 -04:00
eric renaudhoude
461a877a66
[Backout] - CL26106088
...
[FYI] eric.renaudhoude
Original CL Desc
-----------------------------------------------------------------
ColorManagement: Utilize OpenColorIO for advanced color space transformations on textures during mip generation.
Relies on CL 26098047.
#jira UE-182792
#rb rod.bogart, dan.thompson, charles.bloom
[CL 26107262 by eric renaudhoude in ue5-main branch]
2023-06-19 18:04:26 -04:00
eric renaudhoude
973792234b
ColorManagement: Utilize OpenColorIO for advanced color space transformations on textures during mip generation.
...
Relies on CL 26098047.
#jira UE-182792
#rb rod.bogart, dan.thompson, charles.bloom
[CL 26106116 by eric renaudhoude in ue5-main branch]
2023-06-19 17:26:54 -04:00
charles bloom
5e04696773
ImageParallelFor for easy parallel work on pixels
...
ImageParallelProcessLinearPixels
ComputeImageLinearAverage
Make Bokeh computation use the new routines as a test
#rb fabian.geisen
#rnx
[CL 26073510 by charles bloom in ue5-main branch]
2023-06-16 18:12:53 -04:00
martins mozeiko
f656fa0cd4
Reducing texture build memory usage by freeing mip pixel memory as they are no longer needed
...
#jira UE-179421
#preflight 646bbd892c0a5da0dc136fca
#rb dan.thompson
[CL 25570200 by martins mozeiko in ue5-main branch]
2023-05-22 16:57:39 -04:00
dan thompson
b361dacafb
Clang specific cast warnings, and fixing an incorrect cast fix from last checkin.
...
#rb fabian.giesen
#preflight 646b9adb4130b0ce5038e725
[CL 25568727 by dan thompson in ue5-main branch]
2023-05-22 15:17:38 -04:00
devin doucette
8569448f20
xxHash: Removed TTask from the API
...
Management of tasks is more suitable for higher-level code.
Includes rearrangement of some code that was updated inconsistently during compile time optimizations.
#preflight 646690628720894fb6cd5f2d
#rb Dan.Thompson
#rnx
[CL 25548233 by devin doucette in ue5-main branch]
2023-05-19 13:52:37 -04:00
dan thompson
042c6053e7
Typecast warning fixups
...
#jira UE-166462
#rb fabian.giesen
#preflight 6463ec86d62884a78fd92874
[CL 25514891 by dan thompson in ue5-main branch]
2023-05-17 15:57:20 -04:00
dan thompson
6083992f93
Switch to xxhash for mip hashing.
...
#rb fabian.giesen
#jira UE-183751
#preflight 645d2b79ea1c7ba4d6b744d7
[CL 25438535 by dan thompson in ue5-main branch]
2023-05-11 19:32:41 -04:00
Steve Robb
0f44db07d5
Replaced some container operator new usage.
...
#rb james.hopkin
#jira none
#preflight 6459670f28155a0f41565a34
[CL 25384456 by Steve Robb in ue5-main branch]
2023-05-09 05:17:49 -04:00
charles bloom
91159a0815
TextureCompressorModule: GenerateMipChain detach free and delete test code
...
#preflight none
#rb dan.thompson
#rnx
[CL 25140973 by charles bloom in ue5-main branch]
2023-04-20 20:22:13 -04:00
charles bloom
a3e908ec8c
TextureCompressorModule : two mip gens can run at the same time
...
#preflight none
#rb martins.mozeiko
#rnx
[CL 25139747 by charles bloom in ue5-main branch]
2023-04-20 19:09:10 -04:00