Forum Discussion
ox
9 years agoHonored Guest
sRGB/gamma/color whoes, conversion from PSVR to CV1
Ok this may seem a bit "unusual" question but, I am working on a title currenty on work for PSVR ( PS4 ) and currently having it working as well on PC / CV1, all in house propietary engine so "all cod...
ox
9 years agoHonored Guest
Hi,
honestly I don't know the gamma profile of PSVR, but I THINK it SHOULD be sRGB "everything works sRGB in the code".
Now I am not sure about another thing now then, all colours in the vertex definitions as well are also set as type DXGI_FORMAT_R8G8B8A8_UNORM, as far as I know "everything works in a linear fashion" until you get to the final render target where all is defined as sRGB.
So you say that in theory "if i put all R8G8B8A8_UNORM" and then before to pass to compositor I do a gamma of 2.2 I should theorectically see something "more similar" ? I think I tried that yesterday and was still "a bit too dark".
The strange thing is, in _UNORM "everything is too bright" ( but bit more similar to what I see on PSVR ) but in _SRGB everything is too dark.
I wonder, can make this try too, what would happen if I leave all _SRGB and I change the vertex definitions so every instance of "colour" instead of being DXGI_FORMAT_R8G8B8A8_UNORM I replace it with _SRGB too, I have not tried that yet.
From what you say "by nose" give me the feeling that "what you'd need" is maybe an R10G10B10A10_UNORM format instead ? Can it be used ?
honestly I don't know the gamma profile of PSVR, but I THINK it SHOULD be sRGB "everything works sRGB in the code".
Now I am not sure about another thing now then, all colours in the vertex definitions as well are also set as type DXGI_FORMAT_R8G8B8A8_UNORM, as far as I know "everything works in a linear fashion" until you get to the final render target where all is defined as sRGB.
So you say that in theory "if i put all R8G8B8A8_UNORM" and then before to pass to compositor I do a gamma of 2.2 I should theorectically see something "more similar" ? I think I tried that yesterday and was still "a bit too dark".
The strange thing is, in _UNORM "everything is too bright" ( but bit more similar to what I see on PSVR ) but in _SRGB everything is too dark.
I wonder, can make this try too, what would happen if I leave all _SRGB and I change the vertex definitions so every instance of "colour" instead of being DXGI_FORMAT_R8G8B8A8_UNORM I replace it with _SRGB too, I have not tried that yet.
From what you say "by nose" give me the feeling that "what you'd need" is maybe an R10G10B10A10_UNORM format instead ? Can it be used ?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 month ago
- 2 months ago
- 1 month ago
- 8 months ago