Board index FlightGear Development Effects and shaders

Rembrant light problems

An exciting "new" option in FlightGear, that includes reflections, lightmaps, the particle system etc.. A lot is yet to be discovered/implemented!

Rembrant light problems

Postby wlbragg » Tue Mar 18, 2014 3:32 am

ALS I get nice bloomed and beamed light effects.
Image
Rembrant, it all fails
Image

Image

Is Rembrant still a viable rendering scheme or is there something wrong with my setup?

This is from next git a week or two ago.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7609
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Rembrant light problems

Postby Thorsten » Tue Mar 18, 2014 7:38 am

Maybe one of the Rembrandt users wants to comment, my guess is that the issue is that these are not Rembrandt lights (which require a separate declaration in the model xml) but just generic things which appear as lights because they have an emissive color channel set - and Rembrandt doesn't handle them too well.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Rembrant light problems

Postby ludomotico » Tue Mar 18, 2014 9:25 am

As Thorsten says, these models are just not prepared for Rembrandt. To be Rembrandt-compatible, you have to define the light sources in the XML. Under other systems (ALS/default), you define lightmaps, textranslates or emmisive colors. Using one of these tricks in the other light system creates weird effects, as your snapshots show. You can define a XML that selects the right effect according to the light system in use, as some aircrafts do, but this requires some work and tests.

Hence, since we have models made long before Rembrandt was available and some modelers (me, for example) cannot use Rembrandt and thus are not providing Rembrandt support in their models, you'll find hundreds of models that do not look right under Rembrandt.
User avatar
ludomotico
 
Posts: 1269
Joined: Tue Apr 24, 2012 2:01 pm
Version: nightly
OS: Windows 10


Return to Effects and shaders

Who is online

Users browsing this forum: No registered users and 5 guests