datalurkur / Mountainhome

A detailed and intricate worldsim borrowing from the Dungeon Keeper-style dungeon-building mechanic
You're lookin' at it.
6 stars 2 forks source link

Set up materials to read a configuration file #58

Closed StLoch closed 14 years ago

StLoch commented 14 years ago

This is similar to Ogre, where people can define key/value pairs that will be parsed up into a real Material. Example:

ambient = 0.1 0.3 0.1 1
diffuse = 0.2 0.8 0.2 1
texture0 = "grass.png"
StLoch commented 14 years ago

One thing to consider: It may be nice to be able to specify ranges in materials, to let us basically say "This material should ALWAYS be mipmapped and use linear filtering, but this material can enable/disable mipmaps and change filtering based on user defined graphical settings (low, medium, high, etc...)"

datalurkur commented 14 years ago

This is basically done, unless we want to add mipmap ranges.

StLoch commented 14 years ago

Meh, this is good enough for now.