mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-16 07:10:53 +00:00
9c74c9629a
# Conflicts: # src/gl/shaders/gl_shader.cpp # src/hwrenderer/textures/hw_material.cpp # src/r_data/gldefs.cpp # wadsrc/static/shaders/glsl/main.fp
11 lines
239 B
GLSL
11 lines
239 B
GLSL
|
|
Material ProcessMaterial()
|
|
{
|
|
Material material;
|
|
material.Base = ProcessTexel();
|
|
material.Normal = ApplyNormalMap(vTexCoord.st);
|
|
#if defined(BRIGHTMAP)
|
|
material.Bright = texture(brighttexture, vTexCoord.st);
|
|
#endif
|
|
return material;
|
|
}
|