Commit graph

464 commits

Author SHA1 Message Date
Kenny Lerma
0cb0720b2a Corrected missing 'tex' and 'tex1' for custom materials/shaders 2020-05-02 08:23:15 -05:00
Moritz Brückner
fbf3ce813b Fix compilation for multiple mapping nodes 2020-04-27 09:23:02 +02:00
Moritz Brückner
b58fab598c Fix value node when used with material params 2020-04-23 11:43:01 +02:00
Moritz Brückner
1e4d94a77e Fix docstring 2020-04-18 22:18:38 +02:00
Moritz Brückner
e3d4854546 Some code cleanup 2020-04-18 21:52:56 +02:00
Moritz Brückner
c4b6d835f7 Fix and refactor colorramp node 2020-04-18 21:52:38 +02:00
Moritz Brückner
546eea9f27 Automatically convert color/vector inputs to BW when connected to a float input 2020-04-18 21:50:07 +02:00
Moritz Brückner
4859034375 Fix uncommited import 2020-04-18 21:46:56 +02:00
Moritz Brückner
34d23dc42e Store Value node outputs as const 2020-04-18 21:39:06 +02:00
Moritz Brückner
ce245d3ec8 PEP8 + type annotations for write_result() and res_var_name() 2020-04-18 21:38:35 +02:00
Moritz Brückner
146c890349 New Shader.add_const() method to add global constants 2020-04-18 21:26:45 +02:00
Moritz Brückner
6a16cebadf Refactor mapping node 2020-04-11 16:44:06 +02:00
Simonrazer
8f04e18e07
Fix for Fragment 2020-03-21 13:02:12 +01:00
Simonrazer
8b5d000748
Optimise some more 2020-03-21 12:59:02 +01:00
Simonrazer
648d2b1bda
Optimize Voronoi 2020-03-21 11:30:56 +01:00
Simonrazer
08b86e7eb9
Fix typo 2020-03-20 15:44:17 +01:00
Simonrazer
d9d6c3e1d9
Update cycles_functions.py 2020-03-20 15:19:08 +01:00
Simonrazer
b2946ec87d
Update cycles.py 2020-03-20 15:16:08 +01:00
Simonrazer
97896c9fb2
Fix for other dimensions as well 2020-03-19 12:08:56 +01:00
Simonrazer
a0ad5061d0
Back to using 3d textures 2020-03-19 11:29:04 +01:00
Simonrazer
222ccd50d1
Fix div by 0 when mesh is flat 2020-03-19 11:24:17 +01:00
Simonrazer
a544194d4a
Separate procedural functions 2020-03-18 09:38:18 +01:00
Simonrazer
e1ecccf69f
Update cycles.py 2020-03-18 09:35:23 +01:00
Simonrazer
93492ea692
Upgrade noise texture 2020-03-17 09:53:21 +01:00
Simonrazer
c33d886caa
Update cycles.py 2020-03-17 09:51:34 +01:00
Simonrazer
2df762e3db
Upgrade Wave texture shader 2020-03-16 11:53:12 +01:00
Simonrazer
2e529deb19
Upgrade Wave texture node + Fix noise Value output 2020-03-16 11:51:41 +01:00
N8n5h
decf89305c Fix support for box/triplanar mapping
I modified the shader parser so that triplanar mapping of textures is supported.
Normals are supported.
Currently tested with Armory PBR and Principled BSDF.
2020-03-14 23:44:15 -03:00
Simonrazer
3aaba5fe62
Don't use the Z coordinate in the shader 2020-03-13 16:30:42 +01:00
Simonrazer
d1765ab206
Update cycles.py 2020-03-13 16:28:55 +01:00
N8n5h
c04dbe4993 Fix Vertex Color and Tangent not exporting
Applied the same fix that is used for uvs, since it seems to solve the issue of not updating correctly for exporting of materials too.
Also added support for the Vertex Color node.
2020-03-02 02:04:54 -03:00
luboslenco
31161e7242 Fix Object Info material node 2020-01-02 13:53:54 +01:00
Moritz Brückner
1f9a4eaa0a Save generated images as jpg 2019-12-21 20:51:16 +01:00
Moritz Brückner
8c28019f36 Add support for generated image textures 2019-12-21 20:30:49 +01:00
Moritz Brückner
99d7e12375 cycles.py: cleanup and use os.path.join() instead of string operations 2019-12-21 20:28:41 +01:00
N8n5h
35274c8673 fix alpha 2019-12-13 11:27:10 -03:00
Alexander
e72c997a11 Add blackbody node functionality 2019-12-12 18:13:39 +01:00
N8n5h
2b572db3d1
add initial support to Mapping dynamic inputs
This is to help transition to Blender 2.81.
I tried to tackle obtaining the input value if something was connected but it turned more complicated than I thought, so for starters I added support to the dynamic inputs default values so it compiles with no errors when a mapping node is present.

Please point out any ugly code.
2019-11-22 11:53:07 -03:00
luboslenco
24867658f1 Deprecated cleanup 2019-08-24 11:50:27 +02:00
unknown
df3a7b72cf Expose normal attribute 2019-08-17 21:29:28 +02:00
unknown
8e2f037d9b Fix packing inline 2019-07-14 16:45:34 +02:00
luboslenco
f82be5bc64 Improve packing 2019-07-07 22:02:07 +02:00
luboslenco
b869bf24b5 Update Math material node 2019-07-02 23:28:43 +02:00
luboslenco
49c0ef017f Principled update 2019-06-03 11:04:52 +02:00
luboslenco
5e54187202 Principled update 2019-06-03 10:55:32 +02:00
unknown
36277934dc Triplanar stubs 2019-06-02 16:53:13 +02:00
luboslenco
bcdfa7b4a7 Blend and alpha test for overlays pass 2019-05-19 15:24:46 +02:00
unknown
f9b268310d Update image node color space handling 2019-05-15 10:45:31 +02:00
luboslenco
2303bada3a Add single-data-file exporter option 2019-05-14 11:43:41 +02:00
luboslenco
38451d7a9a Format 2019-05-01 21:27:19 +02:00
luboslenco
46a7e81f40 Textured emission fixes 2019-05-01 21:24:39 +02:00
luboslenco
aa5c4f7e73 Link to embedded data 2019-04-26 11:12:09 +02:00
unknown
5240249982 Use voxelao instead of voxelgi, gi will be reworked into raytracing 2019-04-06 18:52:21 +02:00
unknown
27197cc94f Force gpu particles 2019-04-06 14:30:11 +02:00
unknown
4ecec19ad3 Force gpu skinning 2019-04-06 14:13:38 +02:00
unknown
5b2b6428d5 Use per-target color mask 2019-04-06 13:03:04 +02:00
luboslenco
5522955748 Mobile shader fix 2019-04-04 11:23:53 +02:00
luboslenco
c7214e2aa7 Include tex data 2019-04-04 11:23:18 +02:00
luboslenco
b5dd2da61c Clip particle with nan 2019-03-19 08:31:13 +01:00
luboslenco
9cd951819a Fix raytracer 2019-02-19 10:09:42 +01:00
luboslenco
97003c893f Match bias 2019-02-12 17:17:46 +01:00
luboslenco
24b2cc23cd Cube shadow fixes 2019-02-12 12:39:41 +01:00
luboslenco
e6e4206991 Less indirect light for translucent context 2019-02-12 12:39:16 +01:00
luboslenco
565a0fe805 Fix sun color for voxel 2019-02-11 22:16:04 +01:00
luboslenco
7f6b640dfe Fix emission declaration 2019-02-11 16:10:37 +01:00
luboslenco
92fa1b4fb3 No pow for vertex colors 2019-02-11 11:12:41 +01:00
luboslenco
c97579b713 Fix vertex attribute passing for depth pass 2019-02-11 09:05:53 +01:00
Lubos Lenco
44c8cdb679 Fix legacy shaders flag 2019-02-10 20:37:38 +01:00
luboslenco
a1da8b0824 Expose cone aperture 2019-02-09 15:34:16 +01:00
luboslenco
cd7a25db37 Correct displace amount 2019-02-04 21:47:46 +01:00
luboslenco
7cff5f8642 More shader fixes 2019-02-01 17:33:22 +01:00
luboslenco
4df19ef970 Format 2019-01-30 17:45:54 +01:00
luboslenco
4172e0a2c6 Fix LTC shadow 2019-01-27 23:48:54 +01:00
luboslenco
da84a870f1 Fix LTC 2019-01-27 20:13:21 +01:00
luboslenco
e17d06225c Expose voxel shadow 2019-01-27 19:12:00 +01:00
luboslenco
9be8646008 Fix translucency mixing 2019-01-27 15:01:39 +01:00
luboslenco
9ba53d172d Transluc + sss fixes 2019-01-24 12:47:51 +01:00
luboslenco
89cad4e25e Emission fixes 2019-01-23 18:09:53 +01:00
luboslenco
00602d721d Fix array 2019-01-23 13:54:16 +01:00
luboslenco
68b5e1bb3b Implement ssr for forward path 2019-01-23 13:45:58 +01:00
luboslenco
326bf1d90f Improve movie handling 2019-01-23 12:07:44 +01:00
luboslenco
c81d4949ca No need for material tilesheet flag 2019-01-22 12:38:47 +01:00
luboslenco
9141f8d7c4 Attempt to fix image unpack 2019-01-21 21:39:31 +01:00
luboslenco
bc3de52c4e Fix color space for empty texture 2019-01-17 21:37:27 +01:00
luboslenco
3e645a95b4 Merge terrain stream 2019-01-17 21:34:38 +01:00
luboslenco
735ba8eb91 HLSL voxels 2019-01-11 20:42:16 +01:00
luboslenco
d64441b7d3 Update voxelgi 2019-01-10 21:54:36 +01:00
luboslenco
2eab2c1adb Shadow fixes 2019-01-09 21:25:09 +01:00
luboslenco
c47ec1c9a3 Fix decal context 2019-01-09 14:52:30 +01:00
luboslenco
571853eb86 Fix lod generation 2019-01-08 22:49:21 +01:00
luboslenco
b2db6b86da Restore vertex colors 2019-01-07 10:42:45 +01:00
unknown
721e39d5e6 Fix instancing unpack 2019-01-02 15:33:30 +01:00
unknown
40cf9fc19a Fix generated/object tex coords 2019-01-01 20:52:41 +01:00
unknown
6a5c9cc10a Fix displacement compile 2018-12-30 00:01:34 +01:00
luboslenco
a7d14cb444 Probe fixes 2018-12-21 11:37:10 +01:00
luboslenco
cda8276477 Exporter fixes 2018-12-20 22:37:39 +01:00
luboslenco
c9ef079452 New cache 2018-12-19 20:10:34 +01:00
luboslenco
a531b52b9f UI style 2018-12-19 13:33:17 +01:00
luboslenco
a9d4e9c2ef Begin b28 era 2018-12-18 23:48:38 +01:00
luboslenco
71b3d8a555 Packed pos fixes 2018-12-16 22:28:57 +01:00
luboslenco
9c9fd0881e Uniform fixes 2018-12-15 19:03:11 +01:00
luboslenco
7dcb443060 Use shadow samplers, remove arm_dev 2018-12-15 15:07:30 +01:00
luboslenco
e84063da38 Use d3d11 on windows 2018-12-15 13:33:59 +01:00
luboslenco
975f995796 Faster and smaller vertex data 2018-12-14 15:27:43 +01:00
luboslenco
914030e7f4 Shadowmap arrays 2018-12-11 23:05:18 +01:00
luboslenco
d8f78638bd Begin shadow index 2018-12-10 23:29:04 +01:00
luboslenco
bd03fd0465 Forward clusters 2018-12-10 18:18:32 +01:00
luboslenco
6176a26e22 Improved light sampling 2018-12-10 17:25:29 +01:00
luboslenco
73e3e3be0e Handle shaderload flag for hlsl 2018-12-10 10:21:47 +01:00
luboslenco
023668221e Update shadowmap props 2018-12-10 00:02:40 +01:00
luboslenco
25ae41f9c3 Cleanup 2018-12-09 19:27:11 +01:00
luboslenco
835792f7fc Shader fixes 2018-12-07 13:48:40 +01:00
luboslenco
687f4e71ce Voxel ao for hlsl 2018-12-04 19:06:01 +01:00
Lubos Lenco
c50a086d24
Merge pull request #1022 from FuriouZz/issue-custom-material
Remove double .json extension
2018-12-02 16:45:43 +01:00
luboslenco
bf639496e9 Faster shadow sample 2018-11-29 23:43:33 +01:00
Lubos Lenco
0f6f9509fa Skip nor attrib 2018-11-24 20:01:35 +01:00
luboslenco
cc8b74f3a9 Typo 2018-11-22 23:22:56 +01:00
luboslenco
48ad43fd4e Forward clusters 2018-11-22 22:47:14 +01:00
luboslenco
7f261b4365 Save gbuffer slot 2018-11-22 18:07:32 +01:00
FuriouZz
3960d5b54c Remove double .json extension 2018-11-22 17:13:21 +01:00
luboslenco
850dade8a5 Merge clustered rendeder - wip, unstable 2018-11-22 11:08:03 +01:00
luboslenco
ac38825cef Cleanup 2018-11-19 15:41:26 +01:00
luboslenco
10442cf0ff Begin renderer work 2018-11-19 13:18:40 +01:00
luboslenco
88ab28cffc Tilesheet for forward_solid 2018-11-14 22:28:19 +01:00
luboslenco
cd20c50574 Billboard for forward_solid 2018-11-14 21:51:30 +01:00
luboslenco
26bf8e340f Blend and discard for forward_solid 2018-11-14 21:34:53 +01:00
luboslenco
44eac9e50d Fresnel node fix 2018-11-14 12:06:42 +01:00
luboslenco
9f241a89b5 Armory now takes Image node - Color Space into account 2018-11-13 16:51:19 +01:00
luboslenco
7d9c9b18dd Sample bump fixes 2018-11-13 12:51:19 +01:00
luboslenco
e117610162 Fix normal map strength parse 2018-11-13 11:18:12 +01:00
luboslenco
9122dcc6e1 Normal read fix 2018-11-13 10:59:01 +01:00
luboslenco
ef1d4bdbb4 Improve tex read parse 2018-11-13 10:43:07 +01:00
luboslenco
f57225e5f9 Export tga as png with alpha 2018-11-12 22:25:08 +01:00
unknown
3296463a1b Noise fix 2018-10-28 17:52:12 +01:00
unknown
a27adbf42e Runtime shader gen 2018-10-26 19:45:07 +02:00
luboslenco
a8e66d120b Parse color_writes 2018-10-18 14:53:28 +02:00
Lubos Lenco
f7a6caaa8d
Merge pull request #938 from zaethan/master
Make Combine HSV work
2018-10-08 16:38:23 +02:00
Yannik Böttcher
d7e6773140 Make Combine HSV work 2018-10-08 16:31:13 +02:00
luboslenco
9ca83a3250 Fix elem format 2018-09-24 18:12:17 +02:00
luboslenco
99d3c2393f Support Geometry Backfacing socket 2018-09-13 21:34:01 +02:00
luboslenco
d5682233da Add Khamake Threads option for faster builds 2018-08-30 15:42:25 +02:00
luboslenco
5e7bd13674 Instanced rotation and scale 2018-08-29 09:35:48 +02:00
luboslenco
d2a96abcde Rename Lamp to Light to keep in sync with Blender2.8 2018-08-28 15:10:28 +02:00
unknown
6642f5a3a1 Option to generate relative paths 2018-08-16 20:48:00 +02:00
unknown
b5ff24d2ef No need to enable particle flag in material 2018-08-16 17:16:35 +02:00
unknown
4b04d8f36f Forward particle fixes 2018-08-16 12:10:50 +02:00
unknown
fd548b86c7 Fix huesat include 2018-08-16 09:30:05 +02:00
unknown
788748c9f5 Fix tessellated velocity 2018-08-16 09:07:44 +02:00
unknown
a6829d12be Fix disp shader compile 2018-08-15 23:27:46 +02:00
unknown
9f2033c36a Fix texture read parse 2018-08-15 14:10:29 +02:00