Effect file

From Serious Sam's Bogus Detour
Revision as of 21:24, 17 April 2017 by Myran (talk | contribs)

Jump to: navigation, search

.effect


File format

Sprite

Light

Trail

Param

These are values that can be sent to the effect and used in the effect expressions, for example these are used to send in an angle to most projectiles and rotate their sprites accordingly.

   <param name="angle" default="0" />

Variation

Data

Expression language

Functions

sin

cos

abs

ceil

floor

exp

log

saturate

sign

sqrt

clamp

lerp

min

max

smoothstep

pow

rand

wposx

wposy