[RELEASE] Tutorial on the use of shaders in Oolite V1.00

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

[RELEASE] Tutorial on the use of shaders in Oolite V1.00

Post by Shipbuilder »

For those of you who are interested in a, hopefully, easy to understand guide on the use of shaders in Oolite I have put together the following to offer assistance: -

1) A tutorial document that can be downloaded in pdf format which provides a number of examples accompanied by explanations of what I am doing and why.

2) A set of resource packs including fully functioning examples covering the content of the tutorial.

This guide is intended to provide step by step guidance on how to incorporate shaders in to ship OXPs. My aim is to provide this information in as clear and easy to understand manner as possible.

I have based this tutorial on a Ship OXP, (The Arachnid Mark 1), that I am currently working on however the procedures outlined should work equally well for any model produced for Oolite.

Many thanks to various members of the Oolite Forum, in particular Griff, Thargoid, Commander McLane and Submersible, for their help and advice. Without this advice I wouldn’t have been able to produce this guide.

The sections currently included are as follows: -

Section 1 – Incorporating an EmissionMap in to your OXP.
Section 2 – Using shaders to change engine glow intensity in relation to a change of ship speed.
Section 3 – Using shaders to add constant lighting effects to a ship.
Section 4 – Using shaders to add a glow to the whole ship when the hull gets hot.

Any feedback and comments are, as usual, welcome.

The tutorial and accompanying resource packs are available for separate download here.

http://wiki.alioth.net/index.php/User:Shipbuilder
Last edited by Shipbuilder on Tue Mar 26, 2013 8:10 am, edited 1 time in total.
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: [RELEASE] Tutorial on the use of shaders in Oolite V1.00

Post by Shipbuilder »

The tutorial and resource packs have now been uploaded and are available for download. :wink:
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: [RELEASE] Tutorial on the use of shaders in Oolite V1.00

Post by pagroove »

Thank you for the documents. This will come in handy some day :D
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: [RELEASE] Tutorial on the use of shaders in Oolite V1.00

Post by Shipbuilder »

@ Pagroove - You're welcome I hope that you will find them useful and hopefully I have done a decent job.
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: [RELEASE] Tutorial on the use of shaders in Oolite V1.00

Post by Griff »

Great work with the shader tutorials Shipbuilder! I could really have done with these a few years ago :lol:
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: [RELEASE] Tutorial on the use of shaders in Oolite V1.00

Post by Shipbuilder »

Thanks Griff and I'm glad that you think the tutorial should be useful for those wishing to introduce shaders in to their OXPs.

It just seemed that if I was going to have a look at shaders it was an ideal time to put to paper, so to speak, what I learnt.
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
Post Reply