OpenTechEngine / OpenTechBFG

Engine based on (RB) Doom 3 BFG aiming to allow the creation of standalone games
Other
85 stars 11 forks source link

OTE - PBR - add a new material token for a new greyscale texture file for definning per pixel roughness #40

Open BielBdeLuna opened 9 years ago

BielBdeLuna commented 9 years ago

add a new "roughnessMap" material token to point to a new graymap texture so it get's used as a new image in the shader that defines the roughness per pixel

link the image to the shaders

as well as manage the whole new image in the BFG stile.