Skip to Main Content
Game Development and Simulation with Unreal Technology
book

Game Development and Simulation with Unreal Technology

by Alireza Tavakkoli
August 2015
Intermediate to advanced content levelIntermediate to advanced
701 pages
23h 35m
English
CRC Press
Content preview from Game Development and Simulation with Unreal Technology
Material Expressions in Unreal Engine 4 651
Example Usa ge: When using the Cross-Product expression to find the perpendic-
ular vector to a plane of two input vectors, you can normalize the re sult to g et a
unit vector. This may be helpful in deciding to apply a World Position Offset with
exact measurements.
ONE MINUS
This expression, as the name suggests, takes an input and returns an output value that
is exactly equal to 1 minus the input value. Like other basic arithmetic expressions in
Unreal Engine 4, this expression per forms its op eration on a per-channel basis. For
example if the input is a 3Vector w ith R, G, and B values, the ou tput of th e One
Minus will be a 3Vec tor with values of 1-R, 1-G, and 1-B.
Mathematically, let X = [x
1
,x
2
,···
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development Tools

Game Development Tools

Marwan Ansari
Unreal Engine Physics Essentials

Unreal Engine Physics Essentials

Devin Sherry, Katax Emperore

Publisher Resources

ISBN: 9781498706254