Mihara / RasterPropMonitor

Plugin for Kerbal Space Program. This repository is out of date and is primarily of historic interest. See https://github.com/JonnyOThan/RasterPropMonitor
http://forum.kerbalspaceprogram.com/threads/57603
Other
116 stars 67 forks source link

KSP 1.2. text render #596

Closed Alexustas closed 7 years ago

Alexustas commented 8 years ago

screenshot254

screenshot255

screenshot256

MOARdV commented 8 years ago

Something must have changed with the new shaders. I didn't notice that in Avionics Systems, so I'll have to see what is different.

MOARdV commented 8 years ago

The AssetBundle export for RPM had the wrong font sizes. Fixed in 28.1, but you can use this replacement on DropBox so you don't have to wait. Goes in GameData/JSI/RasterPropMonitor

Alexustas commented 7 years ago

In the 'RasterPropMonitor v0.28.0 beta 3' this issue is back

2016-11-06 20-23-26-691

RPM 0.28.0.29319

MOARdV commented 7 years ago

I do not understand why this is happening in the screen shots. The asset bundle is the same one I posted 3 weeks ago. I will look at it some more here.

Alexustas commented 7 years ago

It seems, it's my fault. I messed with the versions. in this case, a greater version (build) number does not mean that it is the most recent. Sorry for the confusion. You can close this issue

MOARdV commented 7 years ago

It seems, it's my fault. I messed with the versions. in this case, a greater version (build) number does not mean that it is the most recent.

Yes, the way Visual Studio numbers builds is confusing, and I made it worse by using those numbers for the releases. Sorry about that - I will use "beta No" from now on.

Alexustas commented 7 years ago

Alpha-channel problem

decimal point

2016-11-08 02-19-19-960

2016-11-08 02-19-31-278

MOARdV commented 7 years ago

That looks like it may be a depth problem - I will go look at the shader and see what I did.

MOARdV commented 7 years ago

I checked the shader again, and it is correctly doing premultiplied alpha. There is no depth test enabled, so I do not know yet why alpha is wrong on this display. I will have to do some more searching.

Alexustas commented 7 years ago

also there is a strange behavior of transparency. it's more like an alpha-cutoff mode

a series of zeros has the color 0,255,0,90:

2016-11-13 16-09-16-598

Alexustas commented 7 years ago

if I change the color to 0,255,0,70 the zeros disappear completely

2016-11-13 16-22-35-808

Alexustas commented 7 years ago

in earlier versions of RPM everything worked correctly.

2016-08-11 02-54-16-287

but now I can not say exactly when it broke

this screenshot was made in 8 August 2016

MOARdV commented 7 years ago

Okay. I did not see anything in the shader when I looked. I will check again.