samrrr
Topic Author
Posts: 7
Joined: 05 Jul 2022, 12:39

How disable font subpixel blue-red pixels?

07 Aug 2022, 05:20

Set
    bool lcd = 0;
In samples no effect. Font still renders with blue-red pixels.
 
User avatar
jsantos
Site Admin
Posts: 3508
Joined: 20 Jan 2012, 17:18
Contact:

Re: How disable font subpixel blue-red pixels?

08 Aug 2022, 17:34

Please, indicate platform and integration (engine) you are using. Thank you!
 
samrrr
Topic Author
Posts: 7
Joined: 05 Jul 2022, 12:39

Re: How disable font subpixel blue-red pixels?

01 Sep 2022, 18:53

I use Windows x64 and DX11.
 
samrrr
Topic Author
Posts: 7
Joined: 05 Jul 2022, 12:39

Re: How disable font subpixel blue-red pixels?

01 Sep 2022, 18:55

I do not use any integration. I simple try disable red-blue pixel in samples. But see no effect.
 
User avatar
sfernandez
Site Admin
Posts: 2617
Joined: 22 Dec 2011, 19:20

Re: How disable font subpixel blue-red pixels?

02 Sep 2022, 10:34

If you are just running our samples you can launch the sample with --lcd 0 in the command line.
Or by overriding the sample App class in Main.cpp:
class App final: public Application
{
    bool GetLCDOverride() const { return false; }

    NS_IMPLEMENT_INLINE_REFLECTION_(App, Application, "HelloWorld.App")
};
 
samrrr
Topic Author
Posts: 7
Joined: 05 Jul 2022, 12:39

Re: How disable font subpixel blue-red pixels?

08 Sep 2022, 10:10

Thanks i found change
view->SetFlags(Noesis::RenderFlags_PPAA | Noesis::RenderFlags_LCD);
to
view->SetFlags(Noesis::RenderFlags_PPAA);
disable red-blue pixels.
 
User avatar
jsantos
Site Admin
Posts: 3508
Joined: 20 Jan 2012, 17:18
Contact:

Re: How disable font subpixel blue-red pixels?

08 Sep 2022, 11:23

Great, marking this as solved!

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], Semrush [Bot] and 1 guest