1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 12:22:03 +08:00
Commit Graph

54 Commits

Author SHA1 Message Date
Kevin Levron
1da2a90c67 wip: materials 2021-04-19 23:46:31 +02:00
Kevin Levron
55da595191 wip 2021-04-19 23:27:31 +02:00
Kevin Levron
4133e5540a wip 2021-04-19 01:13:51 +02:00
Kevin Levron
b3f21b3ec6 wip: materials 2021-04-19 00:40:22 +02:00
Kevin Levron
457d871269 wip: materials 2021-04-19 00:10:00 +02:00
Kevin Levron
d506b3333e remove shaders from tools 2021-04-04 21:04:56 +02:00
Kevin Levron
a1d786297c defineComponent for materials (#10) 2021-04-04 20:42:35 +02:00
Sander Moolin
abbe3d433c updated tools location 2021-03-25 09:24:30 -04:00
Sander Moolin
e31900d467 Change id to name in CubeTexture 2021-03-15 11:46:09 -04:00
Sander Moolin
99b888b27b - Remove ID from texture, replace with name
- Add uniform prop to texture, require use in shaders
2021-03-15 11:45:08 -04:00
Sander Moolin
3f40a59b73 Shader texture proof of concept 2021-03-15 00:33:27 -04:00
Kevin Levron
291444eac6 fix default color 2021-03-13 19:22:29 +01:00
Kevin Levron
444060b91d wireframe props, fix #20, close #22 2021-03-13 16:41:01 +01:00
Kevin Levron
a4eb25654c fix SubSurfaceMaterial (after #19) 2021-03-12 23:59:24 +01:00
Kevin Levron
8d66934fa9 remove console.log 2021-03-12 23:57:13 +01:00
Kevin Levron
e57a05de53 fix #21 (flatshading) 2021-03-12 23:54:55 +01:00
Kevin Levron
3844b109f2 improve ShaderMaterial 2021-03-12 23:14:49 +01:00
Kevin LEVRON
8dab3a6b74
improve ShaderMaterial 2021-03-12 22:58:41 +01:00
Kevin LEVRON
f29435f1fa
export ShaderMaterial 2021-03-12 22:30:56 +01:00
Sander Moolin
9183cabf6a Recreate material if vert/frag shaders change 2021-03-12 15:11:23 -05:00
Sander Moolin
e9e2ac7bce Uniforms working correctly 2021-03-12 09:55:30 -05:00
Sander Moolin
5bd7bcc70f Starting default shader material 2021-03-12 09:29:10 -05:00
Kevin Levron
9f65387068 feat: add texture props 2021-03-07 11:46:35 +01:00
Kevin Levron
9438b79b56 refactor: bindProp 2021-03-07 11:45:25 +01:00
Kevin Levron
2b441f7cd7 wip 2021-03-06 23:14:22 +01:00
Kevin Levron
7e0dd5b2ea wip 2021-03-06 19:22:01 +01:00
Kevin Levron
ce00e726f2 0.1.9 2021-03-05 09:17:16 +01:00
Kevin Levron
b01b251577 wip 2021-02-22 00:49:23 +01:00
Kevin Levron
47c96eedae add lightMapIntensity 2020-10-14 22:14:31 +02:00
Kevin Levron
8d4dc40ee5 wip 2020-10-14 21:38:36 +02:00
Kevin Levron
85b7907cef update standard material 2020-10-14 21:37:08 +02:00
Kevin Levron
b800071f93 wip 2020-10-05 23:09:55 +02:00
Kevin Levron
04fe791340 wip 2020-10-04 22:23:00 +02:00
Kevin Levron
7b7524d1dd textures refactoring 2020-10-04 14:00:07 +02:00
Kevin Levron
1c66a946d5 add matcap material 2020-10-04 11:23:02 +02:00
Kevin Levron
92c419040e update phong & standard 2020-10-04 10:22:26 +02:00
Kevin Levron
864adc1379 wip 2020-10-04 01:44:47 +02:00
Kevin Levron
de0761812a texture hmr 2020-10-04 00:20:27 +02:00
Kevin Levron
5320cbe7dc add map and envmap 2020-10-04 00:07:43 +02:00
Kevin Levron
488b5fd97c add map and envmap 2020-10-04 00:07:10 +02:00
Kevin Levron
d52616f4b0 add toon material 2020-10-03 22:32:27 +02:00
Kevin Levron
a66d4816b2 materials refactoring 2020-10-03 12:34:14 +02:00
Kevin Levron
3ecaaad06a wip 2020-10-03 11:07:49 +02:00
Kevin Levron
fb83acdc2c update materials 2020-10-01 18:22:01 +02:00
Kevin Levron
fd4807a6bb improve hmr 2020-09-19 18:54:50 +02:00
Kevin Levron
9250eca910 improve material hmr 2020-09-19 18:06:09 +02:00
Kevin Levron
2f278a912b material color hmr 2020-09-19 17:00:29 +02:00
Kevin Levron
f239ba8619 update sub surface 2020-09-17 17:09:45 +02:00
Kevin Levron
e61c5ccb4a fix rollup forOf 2020-09-17 10:57:13 +02:00
Kevin Levron
7198c51aea update materials 2020-09-17 10:16:02 +02:00