Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"--edgeFixup warp" does not work without "--filter radiance" #31

Open
Raikiri opened this issue Aug 9, 2017 · 1 comment
Open

"--edgeFixup warp" does not work without "--filter radiance" #31

Raikiri opened this issue Aug 9, 2017 · 1 comment

Comments

@Raikiri
Copy link

Raikiri commented Aug 9, 2017

So I'm using cmft to generate cubemaps from latlong images like this:

cmft.exe --input someInputFile.hdr --outputNum 1 --output0params dds,rgba32f,cubemap --generateMipChain true --dstFaceSize 128 --output0 someOutputFile.dds

And I encountered a problem of significant seams especially on lower mip levels when sampling this cubemap in shader. Conveniently enough, there is already a fix for that, so I tried adding "--edgeFixup warp" flag but it seemed to do nothing. According to documentation it only works with "--filter radiance" which is a shame because this filter produces significantly blurrier cubemap.

Is there a way to generate non-blurry cubemap with seamless sampling?

PS Once again, thanks a lot for the great tool, Dario. It has been of great help to me.

@Raikiri
Copy link
Author

Raikiri commented Aug 9, 2017

By carefully studying parameters of radiance filter, I discovered "--excludeBase true". I thought it would exclude base mip level from resulting mip chain, but turns out it leaves this level intact instead. I'm ok with having seams on base mip level, mostly concerned about higher ones. Is this parameter intended to be used in cases such as mine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant