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

renderToTexture colors are not correct at all #1034

Closed
Cotaks opened this issue Apr 13, 2019 · 5 comments
Closed

renderToTexture colors are not correct at all #1034

Cotaks opened this issue Apr 13, 2019 · 5 comments

Comments

@Cotaks
Copy link

Cotaks commented Apr 13, 2019

Here a picture showing both bge and upbge, the colors are not what it should be at all in upbge, what causes this?

darker rendertotexture upbge

@BluePrintRandom
Copy link
Member

BluePrintRandom commented Apr 13, 2019 via email

@Cotaks
Copy link
Author

Cotaks commented Apr 13, 2019

Maybe it's not the same color space, maybe it's hdr?

Hmm in blender and upbge it's on sRGB, but if i set the texture to linear in upbge the colors are good, but the background color is not being rendered.

@BluePrintRandom
Copy link
Member

BluePrintRandom commented Apr 14, 2019 via email

@Cotaks
Copy link
Author

Cotaks commented Apr 14, 2019

can you set the color space in the background scene? or is it the 'world'
background not rendering?

no, there is no option there but at render tab if i set srgb to linear there it gets to bright, also minimap scene has no world, i added it now it renders the background of it white and adds a strange border on the opposide direction when the background is being rendered, if there is only the map the wierd border is gone as well, but i still need to put the minimap texture to linear as well to get the right colors(except for the background color, it's just white).

You can download the minimap from BA and see for yourself if you like.

@youle31
Copy link
Collaborator

youle31 commented Aug 12, 2019

if you use upbge 0.2.4, color management changed. You can try an earlier version to see if the problem is still there. Else I did builds based on last BF 2.7 master which don't include color management refactor: #1041

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

3 participants