[187] Modding: billboards lose color/brightness depending on camera exposure

Digi shared this bug 6 years ago
Outdated

This video should explain what I'm talking about, look at the red box under that text (the text is using SDR/LDR blend, not relevant to this issue):

https://streamable.com/981lb


Not the actual code used in the video but can be used for replicating, call in Draw() in a session component:

MyTransparentGeometry.AddPointBillboard(MyStringId.GetOrCompute("Square"), new Vector4(1, 0.5f, 0f, 1f), Vector3D.Zero, 10, 0);

This happens with all BlendTypeEnum that are not SDR/LDR.


Billboards are supposed to be emissive, why are they being affected by world light, they're not realistic objects to begin with.


While we can use Vector4 color and multiply it to get a brighter billboard, its color will be inconsistent, for example:


MyTransparentGeometry.AddPointBillboard(MyStringId.GetOrCompute("Square"), new Vector4(1, 0.5f, 0f, 1f) * 10f, Vector3D.Zero, 10, 0);
Is yellow when camera is over exposed and orange when it's under exposed, as seen in the attached images.


*Also*, Vector4 color isn't always available, like MySimpleObjectDraw.DrawTransparentBox() uses Color and that can't be brighter than standard dynamic range.

Replies (1)

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

Leave a Comment
 
Attach a file