# \#custom-material

**URL:** https://discourse.threejs.org/tag/custom-material/411.md

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

---

## [Landscape material shader library](https://discourse.threejs.org/t/landscape-material-shader-library/56215)

<div class="topic-metadata">

**Author:** [@Riwox](https://discourse.threejs.org/u/Riwox)\
**Replies:** 3\
**Last updated:** [September 30, 2023, 11:26am UTC](https://discourse.threejs.org/t/landscape-material-shader-library/56215 "2023-09-30T11:26:54Z")

</div>

Hello. I have an intention to make shaders library as my bachelor’s thesis. There are already some libraries with shaders for object material or effects, but I want to make shaders primarily for landscape . My motive B…

---

## [NodeToy🌈 – The ultimate web shader graph editor for ThreeJs and React-Three-Fiber](https://discourse.threejs.org/t/nodetoy-the-ultimate-web-shader-graph-editor-for-threejs-and-react-three-fiber/38844)

<div class="topic-metadata">

**Author:** [@nodetoy](https://discourse.threejs.org/u/nodetoy)\
**Replies:** 10\
**Last updated:** [July 21, 2023, 12:09am UTC](https://discourse.threejs.org/t/nodetoy-the-ultimate-web-shader-graph-editor-for-threejs-and-react-three-fiber/38844 "2023-07-21T00:09:03Z")

</div>

Hi all :wave:, We built NodeToy, a complete shader editor for the web, built with ThreeJS and React-Three-Fiber. Create, fork and publish shader graphs with others and easily export to ThreeJS, React-Three-Fiber and GL…

---

## [Rotate and scale the added image texture](https://discourse.threejs.org/t/rotate-and-scale-the-added-image-texture/30666)

<div class="topic-metadata">

**Author:** [@tylernguyen](https://discourse.threejs.org/u/tylernguyen)\
**Replies:** 6\
**Last updated:** [November 10, 2021, 8:22am UTC](https://discourse.threejs.org/t/rotate-and-scale-the-added-image-texture/30666 "2021-11-10T08:22:43Z")

</div>

Hi guys, I’m building a product customiser similar to the one in the gif attachment, I don’t find any solutions for the image adjust stuff, it may be a caster from FabricJS to ThreeJS. But I’m just newbie. …

---

## [Custom StandardMaterial](https://discourse.threejs.org/t/custom-standardmaterial/28809)

<div class="topic-metadata">

**Author:** [@TiagoCavalcanteTrindade](https://discourse.threejs.org/u/TiagoCavalcanteTrindade)\
**Replies:** 10\
**Last updated:** [August 11, 2021, 7:01am UTC](https://discourse.threejs.org/t/custom-standardmaterial/28809 "2021-08-11T07:01:43Z")

</div>

I want to use the draw edges method from How to render geometry edges? - Questions - three.js forum (threejs.org) but I also need to support AmbientLight, DirectionalLight, PointLight and SpotLight. How can I mix these s…

---

## [Function to extend Materials](https://discourse.threejs.org/t/function-to-extend-materials/7882)

<div class="topic-metadata">

**Author:** [@Fyrestar](https://discourse.threejs.org/u/Fyrestar)\
**Replies:** 32\
**Last updated:** [May 20, 2021, 3:15pm UTC](https://discourse.threejs.org/t/function-to-extend-materials/7882 "2021-05-20T15:15:08Z")

</div>

This is a little helper function to create a THREE.ShaderMaterial extending a standard material. The second parameter is optional. Instead the constructor of a standard material, you can also pass a instance of a shad…

---

## [Three.js Custom Shader Object Coordinate](https://discourse.threejs.org/t/three-js-custom-shader-object-coordinate/24306)

<div class="topic-metadata">

**Author:** [@playbyan1453](https://discourse.threejs.org/u/playbyan1453)\
**Replies:** 5\
**Last updated:** [March 12, 2021, 10:34am UTC](https://discourse.threejs.org/t/three-js-custom-shader-object-coordinate/24306 "2021-03-12T10:34:01Z")

</div>

I have raymarching shader but when im moving the mesh the objects stay relative on world origin, i wanted it to move with the object.

---

## [Getting a orientation map for non-photorealistic rendering](https://discourse.threejs.org/t/getting-a-orientation-map-for-non-photorealistic-rendering/21131)

<div class="topic-metadata">

**Author:** [@mrmola](https://discourse.threejs.org/u/mrmola)\
**Replies:** 21\
**Last updated:** [December 14, 2020, 12:46am UTC](https://discourse.threejs.org/t/getting-a-orientation-map-for-non-photorealistic-rendering/21131 "2020-12-14T00:46:53Z")

</div>

I am trying to implament this paper in threejs, and in order to do so I need to get the direction that the arrows are going at each pixel here in screen space. The arrows are just visuals, this isn’t going to rely on t…

---

## [Material with emissionMap and fresnel shader](https://discourse.threejs.org/t/material-with-emissionmap-and-fresnel-shader/6223)

<div class="topic-metadata">

**Author:** [@balvarez](https://discourse.threejs.org/u/balvarez)\
**Replies:** 2\
**Last updated:** [February 21, 2019, 2:27pm UTC](https://discourse.threejs.org/t/material-with-emissionmap-and-fresnel-shader/6223 "2019-02-21T14:27:22Z")

</div>

Hello! Is there a possibility to have a material with both emission map and a Fresnel shader? I am working on a project where there is a mesh with an animated emissiveMap which, in order to look perfect, would need to h…

---

## [\[SOLVED\] How do we use map uniform with custom ShaderMaterial?](https://discourse.threejs.org/t/solved-how-do-we-use-map-uniform-with-custom-shadermaterial/1919)

<div class="topic-metadata">

**Author:** [@trusktr](https://discourse.threejs.org/u/trusktr)\
**Replies:** 23\
**Last updated:** [June 24, 2018, 10:09am UTC](https://discourse.threejs.org/t/solved-how-do-we-use-map-uniform-with-custom-shadermaterial/1919 "2018-06-24T10:09:25Z")

</div>

I’d like to pass a map options that holds a texture to my custom ShaderMaterial but I get an error, like this: const material = new ShaderMaterial({ // ... literally copied MeshLambertMaterial shader here, verbatim ..…
