74 lines
2.7 KiB
Text
74 lines
2.7 KiB
Text
ATD1
|
|
|
|
# Do not modify top line!
|
|
|
|
####
|
|
#
|
|
# type=interform
|
|
# width=<2^n> (output width, default=1)
|
|
# height=<2^n> (output height, default=1)
|
|
# mother=<filename.png> (mother parent 8-bit PNG)
|
|
# mother_move=<movetype>
|
|
# mother_vx=<coord/sec> (mother x velocity)
|
|
# father=<filename.png> (father parent 8-bit PNG)
|
|
# palette=<filename.png> (palette truecolor PNG)
|
|
#
|
|
# Creates a 32-bit interform texture from
|
|
# two 8-bit parent textures and one truecolor image.
|
|
#
|
|
# Parent textures (mother and father) do NOT have to be the
|
|
# same size as the interform output, they do not even have
|
|
# to be powers of two! However, if you want the texture to tile,
|
|
# then both parents have to be the same size as the output.
|
|
# In addition, parent textures MUST be at least the size of
|
|
# the output. If this is inconvenient, then make the output
|
|
# smaller and tileable, and set the texture scaling on the
|
|
# world surface.
|
|
#
|
|
# The palette file determines the output colors of the interform.
|
|
# It must be a 24 or 32 bit PNG file with a width of EXACTLY 256.
|
|
# This is so that you can easily edit the interform "palette"
|
|
# as an image in photoshop, using blend and gradient tools,
|
|
# instead of having to play with numerical palette entries.
|
|
# The TOP LINE of the image is read and used as the palette.
|
|
#
|
|
# The CPU time that the interform texture eats up is based
|
|
# on its output width and height, not the size of the parent
|
|
# images (so you can have really big parent images that never
|
|
# seem to repeat and are pretty fast, if you don't need to tile).
|
|
#
|
|
# Movetype is one of the following (default is none)
|
|
#
|
|
# none - no movement. if father and mother both are no
|
|
# movement, texture will not be updated every frame.
|
|
#
|
|
# scroll - scroll constantly with velocity specified by
|
|
# mother_vx, mother_vy, father_vx, or father_vy.
|
|
#
|
|
# wander - wanders aimlessly at constant speed
|
|
# *_speed - ranges from 0 to anything, how fast texture moves.
|
|
# Recommended that you not use wander on both parents.
|
|
# *_rate - how much the wander direction changes,
|
|
# must be between 0 and 1.
|
|
# *_strength - how quickly the turning direction is executed,
|
|
# must be between 0 and 1.
|
|
#
|
|
# Velocity is measured in texture coordinate space per second,
|
|
# so specify 1.0 means, scroll all the way around in one second.
|
|
# 0.1 means move the texture one-tenth of its size in one second.
|
|
#
|
|
# MINFILTER: GL_LINEAR
|
|
# MAGFILTER: GL_LINEAR
|
|
#
|
|
####
|
|
|
|
type = interform
|
|
width = 128
|
|
height = 128
|
|
|
|
mother = textures/joey/blurface.png
|
|
|
|
father = textures/joey/tileform2.png
|
|
father_move = wander
|
|
|
|
palette = textures/joey/iformpalette2.png
|