# \#phong-material

**URL:** https://discourse.threejs.org/tag/phong-material/174.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Why isn't MeshBasicMaterial the base class for MeshLambertMaterial?](https://discourse.threejs.org/t/why-isnt-meshbasicmaterial-the-base-class-for-meshlambertmaterial/88948)

<div class="topic-metadata">

**Author:** [@torrent](https://discourse.threejs.org/u/torrent)\
**Replies:** 5\
**Last updated:** [January 5, 2026, 9:28am UTC](https://discourse.threejs.org/t/why-isnt-meshbasicmaterial-the-base-class-for-meshlambertmaterial/88948 "2026-01-05T09:28:42Z")

</div>

I was wondering why in three.js, MeshLambertMaterial isn’t a subclass of MeshBasicMaterial, if lambert is just the basic material plus simple lighting. Same thing for phong – MeshPhongMaterial is just a lambert material…

---

## [Scene not rendering with MeshPhongMaterial](https://discourse.threejs.org/t/scene-not-rendering-with-meshphongmaterial/64446)

<div class="topic-metadata">

**Author:** [@TheJim01](https://discourse.threejs.org/u/TheJim01)\
**Replies:** 5\
**Last updated:** [April 22, 2024, 4:07pm UTC](https://discourse.threejs.org/t/scene-not-rendering-with-meshphongmaterial/64446 "2024-04-22T16:07:46Z")

</div>

This sounds like a really basic question, but it has me stumped. I’ve been out of the game for a while, but I don’t think my skills have rusted that far… A lot of StackOverflow questions are starting to relate to module…

---

## [Bump map looks ok on phong material, has stair step effect on physical material](https://discourse.threejs.org/t/bump-map-looks-ok-on-phong-material-has-stair-step-effect-on-physical-material/56592)

<div class="topic-metadata">

**Author:** [@trusktr](https://discourse.threejs.org/u/trusktr)\
**Replies:** 25\
**Last updated:** [October 24, 2023, 7:18pm UTC](https://discourse.threejs.org/t/bump-map-looks-ok-on-phong-material-has-stair-step-effect-on-physical-material/56592 "2023-10-24T19:18:27Z")

</div>

Here’s a scene with a phong material where the bump map looks ok: Here’s the scene switched to a physical material where I’m trying to achieve a similar look, but using a bump map results in a weird stair …

---

## [Best approach to changing decal color at runtime](https://discourse.threejs.org/t/best-approach-to-changing-decal-color-at-runtime/40051)

<div class="topic-metadata">

**Author:** [@veritymedia](https://discourse.threejs.org/u/veritymedia)\
**Replies:** 0\
**Last updated:** [July 6, 2022, 2:41pm UTC](https://discourse.threejs.org/t/best-approach-to-changing-decal-color-at-runtime/40051 "2022-07-06T14:41:29Z")

</div>

Hi, Ive tried hard to find a previous post covering this, but alas, I could not. I was just wondering if there is a method to change colour of decal at runtime (or at least set a custom colour). My specific case is a v…

---

## [Material not reacting to flatShading](https://discourse.threejs.org/t/material-not-reacting-to-flatshading/35957)

<div class="topic-metadata">

**Author:** [@manu](https://discourse.threejs.org/u/manu)\
**Replies:** 4\
**Last updated:** [March 15, 2022, 11:31am UTC](https://discourse.threejs.org/t/material-not-reacting-to-flatshading/35957 "2022-03-15T11:31:15Z")

</div>

Hi all! I can’t get flatShading turned off… What am I doing wrong?

---

## [Mesh not reacting to light](https://discourse.threejs.org/t/mesh-not-reacting-to-light/17291)

<div class="topic-metadata">

**Author:** [@Samantha](https://discourse.threejs.org/u/Samantha)\
**Replies:** 3\
**Last updated:** [July 21, 2020, 7:58pm UTC](https://discourse.threejs.org/t/mesh-not-reacting-to-light/17291 "2020-07-21T19:58:31Z")

</div>

I do not usually ask questions in forums. I pride myself in looking though already answered questions but this has me beat. I am sure it is a setting or something that I have missed but the more i stare at it the less I…

---

## [\[Solved\] How to use envMap in ShaderMaterial based on MeshPhongMaterial](https://discourse.threejs.org/t/solved-how-to-use-envmap-in-shadermaterial-based-on-meshphongmaterial/13003)

<div class="topic-metadata">

**Author:** [@Bzaba](https://discourse.threejs.org/u/Bzaba)\
**Replies:** 7\
**Last updated:** [February 26, 2020, 4:21am UTC](https://discourse.threejs.org/t/solved-how-to-use-envmap-in-shadermaterial-based-on-meshphongmaterial/13003 "2020-02-26T04:21:26Z")

</div>

Description of the problem I am trying to create custom ShaderMaterial based on PhongMaterial and use envMap with it. But I am currently struggling to find out how to apply envMap to ShaderMaterial. Basically I am tryin…

---

## [Shininess value and intensity of light in specularMap](https://discourse.threejs.org/t/shininess-value-and-intensity-of-light-in-specularmap/7925)

<div class="topic-metadata">

**Author:** [@jiyeon](https://discourse.threejs.org/u/jiyeon)\
**Replies:** 0\
**Last updated:** [June 4, 2019, 9:54am UTC](https://discourse.threejs.org/t/shininess-value-and-intensity-of-light-in-specularmap/7925 "2019-06-04T09:54:20Z")

</div>

Hi (I use google translator.) I’m making 3d shoes with three.js The set value is spotLight( 0xffffff, 0.1 ), ambientLight( 0xffffff, 1.4 ) and loaded obj file, mtl, specularMap jpg (MeshPhongMaterial) I set a shinines…

---

## [Where can I detailed description of the illumination model used by MeshPhongMaterial?](https://discourse.threejs.org/t/where-can-i-detailed-description-of-the-illumination-model-used-by-meshphongmaterial/6707)

<div class="topic-metadata">

**Author:** [@dugla](https://discourse.threejs.org/u/dugla)\
**Replies:** 7\
**Last updated:** [March 24, 2019, 4:25pm UTC](https://discourse.threejs.org/t/where-can-i-detailed-description-of-the-illumination-model-used-by-meshphongmaterial/6707 "2019-03-24T16:25:28Z")

</div>

I have been trying to study the glsl source code for MeshPhongMaterial and it is a bit hard to see clearly the underlying illumination model. The #ifdefs have pummeled me into submission :-:joy: Where can I find a thoro…

---

## [\[SOLVED\] Why does object get dimmer/darker when light gets closer to it?](https://discourse.threejs.org/t/solved-why-does-object-get-dimmer-darker-when-light-gets-closer-to-it/3475)

<div class="topic-metadata">

**Author:** [@trusktr](https://discourse.threejs.org/u/trusktr)\
**Replies:** 6\
**Last updated:** [July 19, 2018, 7:34pm UTC](https://discourse.threejs.org/t/solved-why-does-object-get-dimmer-darker-when-light-gets-closer-to-it/3475 "2018-07-19T19:34:42Z")

</div>

Here’s a pen, showing some objects with shadow, and the object are bright with light further away: http://jsfiddle.net/trusktr/xy2Wz/99/ If I move the light closer to the objects, from 300 to 80 on Z, then the object a…
