Logo: Relish

  1. Sign in

Project: Three-rb

Object materials

As a developer
I can create and modify new material
So that it can hold important material data

Scenarios
Default material
Given
I create a material
Then
it creates a default material
Set material color
Given
I create a input colored material
Then
its object's color changes to expected
Examples:
input expected
0xff0000 red
red red
false white
Change material color
Given
I create a material
When
I change the color to input
Then
its object's color changes to expected
Examples:
input expected
0xff0000 red
red red
false white
Render in wireframe
Given
I create a material
When
I enable wireframe mode
Then
its object displays in wireframe

Last published about 5 years ago by JScott.