sry, it’s was my mistake i should not multiply entire half4 include alpha channel. i should only multiply emissive.rgb for my case to make it work. btw does monogame support vector4 for PreferredBackBufferFormat?
i try to do this it’s crash
graphics.PreferredBackBufferFormat = Microsoft.Xna.Framework.Graphics.SurfaceFormat.Vector4;
wat is the different between Color.SRgb vs HalfVector4, they both give me the same color output.
3)i did check my GraphicsDevice.Adapter.SupportedDisplayModes. it’s said only support Color format, but i got different output when i put
Back buffer formats are to be displayed on the display device and must be an unsigned ARGB or RGB format. if it crashes, that is something we should fix. It is a preferred back buffer format, and as such may not be the actual format you get. This is how XNA worked.
I tried setting different backbuffer formats in XNA, but they all fell back to Color. In MG everything except Color crashed for me, but the solution is not as simple as catching and then retrying with Color. In the XNA docs it says if the preferred format is not available they find the supported format that is most like the preferred one… So it’s a bit hard to figure out what actually happens especially since you’d need a bunch of different devices to test this properly.