Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


Jump to: navigation, search

Howto:Shader programming in FlightGear

733 bytes added, 16:33, 7 January 2015
Fragment shaders
=== Fragment shaders ===
|the fragment shader basically knows only the pixel it is about to render and whatever information is passed from the vertex shader. Based on 'where' the vertex shader says the pixel is, the rasterizer stage determines what the texture for the pixel should be.
But there are techniques to do this in a different way, for instance the water depth map uses world coordinates to look up a world texture, and the gardens would have to be drawn in a similar way.
|{{cite web |url=http://sourceforge.net/p/flightgear/mailman/message/32326487/
|title=<nowiki>Re: [Flightgear-devel] cities in FG & how to move forward</nowiki>
|author=<nowiki>Renk Thorsten</nowiki>
{| class="wikitable"
! Input

Navigation menu