Jump to content

Pixelated render at first


Recommended Posts

Hello there,

i found a little bug when a run my game, at first it's pixelated but when i press "Escape" to do a pause and then > Options and click on "Apply", the render become ok, and no longer pixelated.

He is two screenshots for comparison:

 

Before click on "Apply".

01.jpg

After "Apply" is clicked.

02.jpg

Can you explain me why? :)

 

It's like when the game is started, the options (Antialias etc...) are not enabled until we click on "Apply".

 

Thank You

 

Link to comment
Share on other sites

  • 3 weeks later...

Okay, camera mutlisample mode is a per-camera setting. So this needs to be applied when the camera is created. I inserted this code into the FPSPlayer, VRPlayer, and Spectator scripts:

local aamode = System:GetProperty("antialias")
if aamode ~= nil then
	self.camera:SetMultisampleMode(aamode)
end

 

  • Like 3

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

  • Josh locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...