Test with new technique texturing
This commit is contained in:
parent
bb723036c0
commit
3a7d169b30
8 changed files with 125 additions and 61 deletions
|
|
@ -40,7 +40,7 @@ public class TexturesImage {
|
|||
if (!portalEngine.datReader.contains(img)) continue;
|
||||
using (var data = portalEngine.datReader.getFileReader(img)) {
|
||||
var image = new RenderSurface(data);
|
||||
if (image.width != 64) continue;
|
||||
if (image.width != 256) continue;
|
||||
var dataImg = DDSHeader.Generate(image);
|
||||
using (MagickImage realImg = new MagickImage(dataImg)) {
|
||||
magickImage = new(realImg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue