Attributes
- Companion
- object
- Source
- Lighting.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Attributes
- Source
- Lighting.scala
This method actually makes the lights effective by setting all of the appropriate OpenGL state variables. This should be called on every frame (or just once, but be sure that no other parts of the application change the lighting in that case).
This method actually makes the lights effective by setting all of the appropriate OpenGL state variables. This should be called on every frame (or just once, but be sure that no other parts of the application change the lighting in that case).
Attributes
- Source
- Lighting.scala
Attributes
- Source
- Lighting.scala
Attributes
- Source
- Lighting.scala
Shows the positions of all the lights present in the world. Positional lights are rendered as spheres, and directional lights are rendered as arrows. This is intended as a debugging aid.
Shows the positions of all the lights present in the world. Positional lights are rendered as spheres, and directional lights are rendered as arrows. This is intended as a debugging aid.
Note that directional lights don't actually have a position (they are infinitely far away). However, this method will approximate the source of the light by rendering it outside of the world.
Attributes
- Source
- Lighting.scala
Concrete fields
Attributes
- Source
- Lighting.scala
Implicits
Implicits
Attributes
- Source
- Lighting.scala