ChangeLog.txt 251 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638
  1. v1.9.8.1
  2. Editor
  3. * Changed "ASEMaterialInspector" to "AmplifyShaderEditor.MaterialInspector"
  4. Templates
  5. * Added "op" (posOS) and "vp" (posVS) to template local vars options
  6. * Fixed Surface shader errors using Depth Fade and Tessellation combined (#368)
  7. * Fixed a few implicit truncation warnings for operations involving clip position
  8. Nodes
  9. * Added error info when "Indirect Specular Light" node is used on HDRP
  10. * Added "Variable Mode" option to "Texel Size" node to control constant decl (#369)
  11. * Added preview to "Reflection Probe" node
  12. * Changed "Reflection Probe" node default Normal OS input now vertex normal
  13. * Fixed "Reflection Probe" node broken in URP Forward+ (#334)
  14. * Fixed "Indirect Diffuse Light" node on URP 10x to 17x (#232)
  15. * Fixed "Indirect Specular Light" node breaking in URP Forward+ (#220)
  16. * Fixed "View Dir" node in HDRP/URP obj-space and tangent-space outputs (#370)
  17. * Fixed Parallax view direction issues (#373)
  18. v1.9.8
  19. Editor
  20. * Updated default shader target for Surface shaders to 3.5
  21. * Fixed loading a shader sometimes shows an empty canvas (nodes out of view)
  22. * Fix bug in "Clear Log on Update" preferences option hiding messages
  23. Templates
  24. * Updated all templates to shader target 3.5
  25. * Updated Fog, Vertex Lighting, Depth Output, Early-Z in URP 12x-17x (#349, #274)
  26. * Updated decal templates to use correct relative-world position (URP 12-17x)
  27. * Fixed Lit and Hair template api errors in HDRP 14x
  28. * Fixed "Alpha Clipping" in URP 12x to 17x
  29. * Fixed duplicated ase_local_var in HDRP templates 10x to 17x
  30. Nodes
  31. * Added new "Position" node that can output in different spaces (#364)
  32. * Added new "Normal Face" node that can output in different spaces (#354)
  33. * Added numerically stable camera-relative world position to "Normal Face" node
  34. * Added extended Mode options to "Screen Position" node, matching SG (#144)
  35. * Added "Inverse Model Matrix" node that outputs unity_WorldToObject
  36. * Changed "Model Matrix" to output unity_ObjectToWorld, not UNITY_MATRIX_M
  37. * Changed "Screen Depth" to remove linear toggle and extend depth mode
  38. * Changed "Surface Depth" node, depth mode options now match "Screen Depth"
  39. * Fixed div by zero in "Main Light Color" node when there are no lights (#367)
  40. * Fixed errors and warnings in "Transform Direction" node (#359)
  41. * Fixed errors and warnings in "Transform Position" node (#359)
  42. * Fixed errors and warnings in "Grab Screen Color" nodes (#359)
  43. * Fixed "Dither" node implicit truncation warnings
  44. * Fixed "Dither" node large float precision issues when using tessellation
  45. * Fixed "World Normal Face" node not correcting for projection flip
  46. * Fixed "World Normal Face" node large-float precision issues (#354)
  47. * Fixed "Screen Position" node not considering Vertex Offset in HDRP 10x-17x (#346)
  48. * Fixed "Screen Position" Normalized preview Z output
  49. v1.9.7.1
  50. Editor
  51. * Added ASE_VERSION define to all generated shaders
  52. Templates
  53. * Fixed URP 14x templates missing "Alpha Clipping" options and other changes
  54. Nodes
  55. * Updated "Common Transform Matrices" node to add InvP, InvVP and InvMVP
  56. * Updated "Inverse View Projection Matrix" node to be compatible with BiRP
  57. * Updated "Inverse Projection Matrix" node to be compatible with BiRP
  58. v1.9.7
  59. Editor
  60. * Added "Shader Graph to ASE" link button to Start Screen
  61. * Shader inspector button "Open in Shader Editor" now greyed for non-ASE shaders
  62. Templates
  63. * Added template ase_subshader_options action conditionals and RefreshOption
  64. * Added "Alpha Clipping" option to URP templates 10x-17x
  65. * Fixed renderQueue based on AlphaTest/Transparency on URP templates 10x-17x
  66. * Fixed missing light shadows in Transmission/Translucency on URP 10x-17x (#344)
  67. * Fixed "Legacy/Lit" template error when using Baked Lightmap debug VIS (#244)
  68. Nodes
  69. * Added "View Vector" node (#57)
  70. * Added "Object" and "View" space options to "View Dir" node
  71. * Added Normalize option to "Normal Reconstruct Z" (#342)
  72. * Added "Rounded Polygon" node
  73. * Added "Fade Transition" node (#56)
  74. * Added Saturation node (#64)
  75. * Updated "Diffuse And Specular From Metallic" to work on any SRP, not just BiRP
  76. * Updated "Polygon" node with minor improvements
  77. * Updated "Rectangle" and "Rounded Rectangle" nodes with minor improvements
  78. * Renamed "Light Color" node to "Main Light Color" (#310)
  79. * Renamed "Light Attenuation" node to "Main Light Attenuation" (#310)
  80. * Deprecated "Object Space View Dir" and "World Space View Dir" nodes (#315)
  81. * Fixed SRP's additional lights Function for Light Layers on SRP 14+ (#325)
  82. * Fixed invalid preview of the Dot Product Node (#338)
  83. * Fixed matrix default values on Function Inputs (#335)
  84. * Fixed "Switch" node Dynamic Branch bug (#348)
  85. * Fixed "Parallax Occlusion Mapping" tex port disconnecting on changes (#255.B)
  86. * Fixed "Grid" and "Rectangle" nodes throwing warning floatdiv/zero (#336)
  87. * Fixed "Parallax Occlusion Mapping" node visual errors in WebGL2 (#339)
  88. * Fixed "SRP Additional Light" no shadows unless "Use Shadow Mask" (#280)
  89. * Fixed "Custom Expression" handling of unconnected SamplerState inputs (#318)
  90. * Fixed invalid "screenPosition" when using "Depth Fade" and "Dither" nodes (#333)
  91. * Fixed error using "Surface Depth" when connected "Local Vertex Offset" (#331)
  92. * Fixed "Dither" node handling of unstable precision inputs (#266)
  93. v1.9.6.3
  94. Templates
  95. * Updated URP ShadowCaster template code to match Unity 6000.0.14 (#329)
  96. Nodes
  97. * Fixed "Instance ID" node causing errors when connected to vertex output (#291)
  98. v1.9.6.2
  99. Editor
  100. * Fixed ASE material inspector preview broken when using custom meshes (#324)
  101. Templates
  102. * Fixed invalid subscript probeOcclusion errors in URP 17x (#326)
  103. Nodes
  104. * Added "Exposure" node (#72)
  105. * Added "Apply Exposure" (def:ON) to "Fetch Lightmap Value" and "Sample Lightmap"
  106. * Fixed "Fetch Lightmap Value" and "Sample Lightmap" not respecting exposure
  107. v1.9.6.1
  108. Samples
  109. * Fixed URP 17x sample errors on Unity 6000.0.9+
  110. * Removed deprecated shader from URP samples (10x to 17x)
  111. v1.9.6
  112. Nodes
  113. * Updated "Indirect Diffuse Light" node to support Unity6000.0.9+ (#321)
  114. * Removed "Back Normal WS" input from "Sample Lightmap" to prevent mistakes (#322)
  115. Templates
  116. * Updated support for Unity6000.0.9+, ignoring older versions (#319)
  117. * Fixed RemapFoveatedRenderingResolve related shader errors on MacOS/Metal (#320)
  118. v1.9.5.1
  119. Nodes
  120. * Fixed "Transform Position" breaking when using "Clip" transform target
  121. v1.9.5
  122. Editor
  123. * Added ability to sort input and output ports, on a per node basis
  124. * Additional change to old fix related to nodes sometimes missing attributes (#296)
  125. Nodes
  126. * Fixed "SRP Bake GI" node support for adaptive probe volumes
  127. * Changed "Transform Position" node output to vec4 with target transform "Clip"
  128. * Changed "SRP Baked GI" input port "Screen Position" now expects Normalized (xyz/w)
  129. * Added "Instance ID" node "Procedural" toggle to support procedural instancing
  130. * Added "Transform Position" node "Screen" target transform
  131. * Added "Use Alpha" option to "Color" node to output RGB when false (default = true)
  132. * Added extra RGB output port to "Color" nodes
  133. * Added extra RGB output port to "Texture Sample" node
  134. v1.9.4.4
  135. Editor
  136. * Changed "Template *" nodes to show property name as sub-title, instead of title
  137. Nodes
  138. * Fixed dithering broken with vertex offset/position on URP Unlit (all versions)
  139. * Fixed duplicated declarations generated by "Reciprocal" node
  140. * Fixed "SRP Baked GI" node causing flickering on HDRP 15+
  141. v1.9.4.3
  142. Editor
  143. * Added "Disable Material Mode" user preferences option
  144. Nodes
  145. * Fixed "Object Bounds" node not generating code reliably on URP 14x+
  146. v1.9.4.2
  147. Nodes
  148. * Fixed "Indirect Diffuse Light" node failing to generate code in URP Unlit
  149. v1.9.4.1
  150. Nodes
  151. * Reverted branch code optimizations due to errors on "If" and "Switch" nodes
  152. v1.9.4
  153. Editor
  154. * Template-restricted/specific nodes now show errors with Surface shader (#299)
  155. * Fixed nodes sometimes missing attributes (#296)
  156. * Fixed swizzle node preview (#292)
  157. * Fixed "forwardadd" option added to URP/HDRP with "Instanced Terrain" (#300)
  158. Templates
  159. * Added Lit/Unlit option for "Enable SSAO" URP 10-17x (#289)
  160. * Added Lit/Unlit option for "Receive shadows" URP 10-17x (#233)
  161. * Added Lighting Model option (PBR or Simple) to URP Lit 12-17x
  162. * Fixed Lit/Unlit missing DOTS support in ExtraPrePass URP 10-17x (#286)
  163. * Fixed Unlit missing FoveatedRenderingKeywords.hlsl URP 14-17x (#288)
  164. * Fixed Lit LOD Cross Fade pragma in Forward and Gbuffer passes URP 16x
  165. * Fixed Lit/Fabric Decal error in 2023.1.0 HDRP 15x (#293)
  166. * Fixed Premultiply shader bug in URP Unlit template, all versions (#301)
  167. * Fixed terrain instancing in BiRP templates
  168. * Fixed foveated rendering related errors on macOS (URP 14) using Forward+ (#238)
  169. Nodes
  170. * Added "Object Bounds" node
  171. * Added "Object Position" node
  172. * Added "Compute Mip Level" node
  173. * Added "Alpha Split" node
  174. * Added "Alpha Merge" node
  175. * Added "Flip" node
  176. * Added "Nand" node
  177. * Added "Not" node
  178. * Added "Is Infinite" node
  179. * Added "Is NaN" node
  180. * Added "Current Frame" output to "Flipbook UV Animation" node
  181. * Added "Max Frame" property to "Flipbook UV Animation" node
  182. * Added "Switch" node support for "dynamic_branch" pragma
  183. * Renamed "Static Switch" node to "Switch"
  184. * Updated "Light Attenuation" node for URP 14.0.9 to 17 (#238)
  185. * Fixed "SRP Baked GI" and "Indirect Diffuse Light" nodes in HDRP 17x (#285)
  186. * Fixed "If" node code generation to take proper advantage of dynamic branching
  187. * Fixed "Billboard" node generating implicit vector casting
  188. * Fixed "Dither" node causing crashes on PS5
  189. * Fixed "SRP Baked GI" node in Unity 16x 2023.2.20+ (#298)
  190. * Fixed "SRP Baked GI" node error in Unity 14x 2022.3.26+ (#297)
  191. * Fixed "Flipbook" node to also work with Clamp wrap mode (#304)
  192. * Fixed timing issues in "Flipbook UV Animation" node
  193. * Fixed "Indirect Diffuse Lighting" generating code in "Meta" pass (#232)
  194. v1.9.3.3
  195. Editor
  196. * Added support for Unity 6 (preview)
  197. * Split Preferences into User-level and Project-level settings
  198. * Added template ase_unity_cond_begin/end replacement tags (Unity version)
  199. * Added template ability to set port actions via LinkId instead of Id/Name
  200. Templates
  201. * SRP 17x templates updated per Unity 6.0.0b13
  202. * Updated HDRP Hair templates
  203. * Fixed Double Sided Mode in HDRP templates (#279)
  204. * Added conservative depth option to HDRP templates
  205. * Fixed decal error in Decal template in HDRP 12x 14x
  206. * Added missing Dots include in URP Unlit DepthNormal pass (#267)
  207. * Fixed incorrect include for Foveated Rendering in URP
  208. * Updated all templates 10x to 17x
  209. Nodes
  210. * Fixed DepthFade and ScreenDepth code generation in URP (#271)
  211. v1.9.3.2
  212. Templates
  213. * Fixed URP 14x template compile errors in some Unity versions
  214. v1.9.3.1
  215. Editor
  216. * Potential fix ASEPackageManagerHelper exceptions in batchmode (#237)
  217. Templates
  218. * Added URP 2D templates to SRP 17x
  219. * Fixed URP 2D templates color change bug in 15x and 16x (#211)
  220. Nodes
  221. * Added min/max/steps inputs to "Parallax Occlusion Mapping" node (#163)
  222. v1.9.3
  223. Editor
  224. * Fixed inline properties sometimes losing connection (#212)
  225. * Fixed broken double-click to change property names (#231)
  226. * Fixed broken "Reset and Forget All" in ASE Preferences
  227. Templates
  228. * Added support for URP/HDRP 17x (Unity 2023.3.0b4)
  229. * Updated URP/HDRP with latest unity changes (10x to 17x)
  230. * Updated HDRP Refraction (10x to 17x)
  231. * Fixed HDRP logic issues in SSR (10x to 17x)
  232. * Fixed HDRP FullscreenDebug pass errors (#246)
  233. * Fixed HDRP Unlit build errors (#247)
  234. Nodes
  235. * Updated "Polar Coordinate" node
  236. * Updated "Flipbook" node
  237. * Updated "SRP Additional Light" node
  238. Samples
  239. * Removed URP Reflection Probe sample (moved to Amplify Shader Pack)
  240. * Removed URP Terrain sample (moved to Amplify Shader Pack)
  241. * Removed unused assets
  242. v1.9.2.2
  243. Templates
  244. * Massive template URP template update (all SRP versions)
  245. * Massive template HDRP template update (all SRP versions)
  246. * Added Local Vertex Tangent to Surface shader Master Node input
  247. * Deprecated duplicated DepthNormals pass in URP Unlit 12x
  248. Nodes
  249. * Fixed Normalize node when using safe mode
  250. * Improved "World Normal Face" shader function precision
  251. * Added Safe Normalize toggle to "World Normal Face"
  252. * Fixed SRP Additional Light shader function
  253. * Fixed Flipbook shader function
  254. v1.9.2.1
  255. Templates
  256. * Added initial support for URP/HDRP 17
  257. * Updated all URP/HDRP templates
  258. * Force AlphaToMask Off on URP ScenePicking/SceneSelection passes
  259. * Fixed URP 14x 15x 16x Decal not working properly on Mac (#217)
  260. * Fixed HDRP 12x 14x 15x 16x Unlit errors on Shadow Matte option (#218)
  261. Nodes
  262. * Fixed World Normal node sometimes generating errors on iOS platform (#225)
  263. * Fixed dither node not updating subtitle when switching pattern (#229)
  264. * Fixed errors in Light Color Node (#227)
  265. Editor
  266. * Proper fix for guistyle typo warning
  267. v1.9.2
  268. Highlights
  269. * Added support for 2023.2 and URP/HDRP 16x
  270. * Added URP/HDRP 16x samples
  271. * Fixed URP/HDRP 15x samples
  272. * Added "Always Align to Grid" option to Preferences
  273. Editor
  274. * Node lengths now align to grid during snap
  275. * Node header height now same regardless of subtitle
  276. * Shader Function node Icon now white
  277. * Removed [ASEBegin]/[ASEEnd] SRP tags
  278. Samples
  279. * Fixed Built-in samples
  280. * Removed some Built-in samples conflicting with ASP
  281. v1.9.1.9
  282. Editor
  283. * Adjusted UIUtils toolbar style fix to include Unity 2021.3
  284. * Switched from http to https as workaround for connection issues
  285. Templates
  286. * Fixed Decal related errors in Lit template (HDRP 14x 15x)
  287. * Fixed OUTPUT_SH errors on URP 15x
  288. v1.9.1.8
  289. Editor
  290. * Fixed Undo-related error spam (#205)
  291. * Fix for UIUtils console spam on Unity 2022.3+ (#208)
  292. * Fixed "Indirect Diffuse Light" node errors on URP 15 (#209)
  293. * Added "Device Depth" node; depth range compatible with "Depth Value" input
  294. Templates
  295. * Fixed "Depth Value" input issues on URP (#190)
  296. * Fixed EarlyZ errors on URP (#191)
  297. * Fixed "Depth Offset" input issues on HDRP
  298. v1.9.1.7
  299. Editor
  300. * Fixed Start Screen high CPU/GPU usage
  301. Templates
  302. * Fixed decal angle fade in (HDRP 12x 14x 15x)
  303. * Fixed positionCS errors in Lit shader (URP 15x)
  304. v1.9.1.6
  305. Editor
  306. * Added support for Unity 2023
  307. * Fixed NRE caused by Shader Function additional directives
  308. * Fixed resize NRE in functions switch
  309. * Increased MaxAllowedAmount in FunctionSwitch from 9 to 10
  310. * Fixed GetScriptingDefineSymbolsForGroup deprecation warnings
  311. Samples
  312. * Added samples for SRP 15x
  313. Nodes
  314. * New "Metal Reflectance" node
  315. * New "All" node
  316. * New "Any" node
  317. * New "Reciprocal" node
  318. * New "Bacteria Smoothstep" node
  319. * New "World Normal Face" node
  320. * Update "Bacteria Smoothstep" node
  321. * Added tags "refl reflect reflection" to "Reflect" node
  322. * Renamed "Light" category to "Lighting"
  323. * Added SRP 16x to "SwitchBySRPVersion" Node
  324. Templates
  325. * New SRP templates 15x
  326. * Added ase_pragma to "UI-Default" template
  327. * Updated SRP templates (10x 12x 14x)
  328. * Fixed color mask for light layers in HDRP (12x)
  329. * Fixed URP terrain instancing (12x 14x)
  330. v1.9.1.5
  331. Editor
  332. * Fixed error in template additional directives helper
  333. Templates
  334. * Fixed LOD Cross Fade visual issues when using vertex position output (URP 14x)
  335. * Fixed Unlit shader errors when using LOD CrossFade (URP 14x)
  336. v1.9.1.4
  337. Editor
  338. * Added SRP 15 baseline pointing to SRP 14 packages (not official support yet)
  339. * Added template owner info on action logs
  340. * Fixed online sharing errors; added warnings to request enabling HTTP in 2022.1+
  341. * Added conditional fields Passes and SRPVersion to additional directives
  342. Nodes
  343. * SRP Additional Light now only adds directives to relevant pass
  344. * Fixed SRP Additional Light normals and Forward+ support
  345. * Fixed Sample Lightmap node when both static and dynamic lightmaps are used
  346. Templates
  347. * Fixed decal errors when DECAL_RECONSTRUCT_NORMAL not defined (URP 12x 14x)
  348. * Fixed Lit shader not writing Occlusion to GBuffer (URP 12x 14x)
  349. * Fixed errors in Motion Vector interpolators using "Vertex TexCoord" 4/5 (HDRP all)
  350. * Fixed backface picking in URP 2D templates (URP 12x 14x)
  351. * Fixed decal template errors when using instancing (URP 12x 14x)
  352. * Fixed rendering layers (URP 14x)
  353. * Updated LOD crossfade to support blue noise + keyword optimizations
  354. * Fixed instancing in FullScreenDebug pass (HDRP 12x 14x)
  355. * Fixed Lit shader subsurface and transmission logic (HDRP 12x 14x)
  356. v1.9.1.3
  357. Editor
  358. * Fixed unity exceptions caused by get_productName
  359. * Fixed upgrade issue for shaders earlier than 1.9.0 causing missing passes
  360. * Fixed Removed down arrows from sample import buttons in start screen
  361. * Fixed preview texture showing incorrect data at edges
  362. * Fixed ASEPackageManagerHelper errors when SRP unitypackages are missing
  363. * Fixed script compile error in Unity 2021.1
  364. Samples
  365. * Fixed and reorganized samples for all SRP versions
  366. * Added sample packages per SRP; updated Start Screen sample import buttons
  367. Nodes
  368. * Restored pragma multi_compile directives in SRP Additional Light for Unlit shaders
  369. * Small improvement in Decode Directional Lightmap
  370. * Added new Sample Lightmap shader function with support for Bicubic sampling
  371. * Fixed Lightmap UV shader function
  372. * Fixed LightAttenuation pragmas on URP 14x
  373. Templates
  374. * Fixed debug display; reduced min shader model to 3.5 for webgl2 (URP all)
  375. * Fixed reflection/specular highlights toggle (URP 14x)
  376. * Removed deprecated option from Hair template (HDRP 10x)
  377. * Fixed URP Lit template causing bugs in "Depth Fade" node (12x 14x)
  378. * Updated all SRP templates with synced property ordering and minor cleanups
  379. * Updated all SRP templates to support core library's bicubic filtering
  380. * Fixed shader errors when virtual texturing is enabled (HDRP 12x)
  381. * Fixed "Blend Preserves Specular" not showing in Hair shaders (HDRP 10x 14x)
  382. * Fixed scene view debug visualization causing errors in Lit shaders (URP 12x 14x)
  383. v1.9.1.2
  384. Editor
  385. * Fixed default template menu having invalid items
  386. Nodes
  387. * Fixed light loop regression in "SRP Additional Light" node (URP 10x)
  388. v1.9.1.1
  389. Samples
  390. * Fixed built-in SimpleTerrain example splats and terrain instancing warnings on 2021.x
  391. Templates
  392. * Fixed light loop errors in Transmission and Translucency features (URP Lit 14x)
  393. Nodes
  394. * Fixed bug in "LightAttenuation" node" breaking cascade shadows
  395. * Fixed light loop errors in "SRP Additional Light" node (URP 14x)
  396. v1.9.1
  397. Highlights
  398. * Added support for SRP 14
  399. * Added support for URP Forward+
  400. * Improved support for SRP 10+ package (10xx to 11xx)
  401. * Improved support for SRP 12+ package (12xx to 13xx)
  402. * Improved editor performance and stability
  403. * Improved compile times and reduced variants for SRP templates
  404. * Temporary disabled Undo
  405. Known Issues
  406. * URP 2D/Sprite templates may not work properly (update delayed to 1.9.2)
  407. * Undo is slow and unstable, when enabled
  408. Templates
  409. * Removed references to GBuffer pass in URP Unlit 12x
  410. * Removed "LightMode" tag from Legacy Unlit template
  411. * Moved CustomRT shaders to their own folder
  412. * Fixed "Blend Preserves Specular" not working properly in some templates
  413. * Fixed warnings related to _SHADOWS_SOFT and _ADDITIONAL_LIGHT_SHADOWS
  414. * Fixed Normal vector normalization in Surface shader and custom lighting (BiRP)
  415. * Fixed errors when disabling scene lighting in HDRP 12x
  416. * Fixed shader keyword excess in URP 10x Lit and Unlit
  417. * Fixed URP 12x decal tangents
  418. * Fixed errors when using Translucency/Transmission with rendering layers
  419. * Fixed stencil section writing "<Default>" when no value is set
  420. * Added Shader Function option to use default header, Category color or custom
  421. * Added identifiable "Fs" icon to left of Shader Function headers
  422. * Added back "Normal Alpha" to HDRP 10x12x Decal template
  423. * Updated UI-Default and moved to "UI/Default" in template selection
  424. * Updated URP 12x decal template to match SG
  425. * Updated "SRP Additional Light" node to support Forward+
  426. * All ASE built-in Shader Functions now use Category color
  427. * Cleaned up empty spaces and normalized ASE_ keywords across templates
  428. Nodes
  429. * Removed deprecated "SubstanceBlendMetallic" shader function
  430. * Removed redundant pragma multi_compile directives from "SRP Additional Light"
  431. * Moved face nodes to new "Primitive" category
  432. * Fixed is_front_face related nodes broken in Surface shader mode
  433. * Fixed default Shadow Mask in "SRP Additional Light" to sample baked mask
  434. * Fixed mesh rendering layer errors in "SRP Additional Light"
  435. * Fixed "Switch by SRP Version" fallback to None when RP Asset is not set
  436. * Added node color for "Primitive" category to match "Vertex Data"
  437. * Added "camera vector" search tag to "view dir" node
  438. * Added "reciprocal square root" tags to RSqrt
  439. * Added "square root" tags to Sqrt node
  440. * Added "Blackbody" built-in shader function
  441. * Added "TwoSidedSign" node
  442. * Added "Square" node (for A * A)
  443. * Added "Lightmap UV" node to retrieve both static and dynamic lightmap UVs
  444. * Added "Shadow Mask" node
  445. * Changed "Switch by Pipeline" labels to BiRP Surf, BiRP Vert/Frag, URP and HDRP
  446. Editor
  447. * Removed canvas panning/zoom info from metadata; now saved to editor prefs
  448. * Fixed order of serialized-nodes/metadata changing on every save
  449. * Fixed sampler state expression generation to match SG
  450. * Fixed preview memory leak when "Disable Node Previews" is enabled
  451. * Fixed ASE auto-importing highest SRP templates when version below min (10x)
  452. * Fixed sampler syntax generation causing errors when using sampling macros
  453. * Fixed secondary passes overriding global graph precision
  454. * Fixed compile errors on Unity 2021
  455. * Fixed DOTS instanced property support in SRP 12x and higher
  456. * Fixed small numbers in Properties causing parse errors in ShaderLab
  457. * Fixed inline property dependency resolve during graph load
  458. * Improved SRP template auto-importer version matching and verification
  459. * UV set labels now start from zero instead of one for consistency
  460. * Updated master node Rendering Platforms list to latest; added missing platforms
  461. Preferences
  462. * Added "Enable Undo" option to preferences window (off by default)
  463. Samples
  464. * Removed Substance sample
  465. * Unpacked CustomRT Rain sample
  466. v1.9.0.2
  467. Nodes
  468. * Fixed Light Attenuation node bug causing materials to be transparent on builds
  469. Templates
  470. * Fixed world position in decal templates (URP-HDRP, 10x-12x)
  471. * Fixed errors when using Angle Fade in decal template (URP 12x)
  472. * Fixed decal UV, Tangent bugs and multiple other issues (URP-HDRP, 10x-12x)
  473. * Fixed template SetOption action not executing properly
  474. * Fixed translucency, transmission, clear coat may break Forward Only (URP 12x)
  475. * Fixed unity_WorldTransformParams (all SRP)
  476. Editor
  477. * Fixed bug in GlobalAutoSRP preferences option
  478. * Fixed ASE not auto-importing SRP packages before opening canvas
  479. * Fixed batch compile timer not being reset
  480. v1.9.0.1
  481. Templates
  482. * Fixed URP Transparent seethrough SSAO
  483. Editor
  484. * Updated start screen to display all changelog for all revisions of minor version
  485. v1.9.0
  486. Important
  487. * Raised minimum Unity support to 2019.4 LTS
  488. * Raised minimum URP support to 10
  489. * Raised minimum HDRP support to 10
  490. Known Issues
  491. * URP 2D/Sprite templates may not work properly (update due in 1.9.1)
  492. Improvements
  493. * Improved support for SRP 10+ package (10xx to 11xx)
  494. * Improved support for SRP 12+ package (12xx to 13xx)
  495. * Improved ASE startup time
  496. Templates
  497. * Added "Forward Only" option to relevant shader templates
  498. * Added template authoring 'ase_srp_cond' tags for SRP version conditional usage
  499. * Fixed ASE_SRP_VERSION to contain actual SRP package version
  500. * Fixed empty fallback; now generating "Fallback Off"
  501. * Fixed template stencil buffer module default values
  502. * Unpacked PPStack templates to Legacy folder and deleted package
  503. * Unpacked CustomRTT templates to Legacy folder and deleted package
  504. * Unpacked HDRP diffusion profile node to outside template packages
  505. * Renamed Universal/PBR to Universal/Lit
  506. * Renamed "Legacy/Post Process" to "Legacy/Image Effect"
  507. * Renamed all instances of "Custom RT" to "Custom Render Texture" (new menu)
  508. * Renamed HDRP template paths to start with HDRP/ instead of HD/
  509. * Removed code paths involving deprecated SRP versions
  510. * Removed legacy URP templates below 10x
  511. * Removed legacy HDRP templates below 10x
  512. * Removed legacy Lightweight templates
  513. * Removed deprecated DefaultUnlit and HD/PBR shaders
  514. Nodes
  515. * Added "Switch By SRP Version" node which relies on active SRP package
  516. * Added additional texture property default values (linearGrey, red)
  517. Preferences
  518. * Added "Log Batch Compilation" option to ASE prefs to log timed batch compile
  519. * Added "Log Shader Compilation" option to ASE prefs to log timed compile
  520. * Added "Force Template Inline Properties" prefs toggle (off by default)
  521. * Removed Async compilation warning message and respective toggle in preferences
  522. * Removed legacy Substance Node support
  523. Editor
  524. * Added ASE version to 'Made with Amplify Shader Editor' comment on first line
  525. * Removed deprecated sample buttons from start screen
  526. * Console window is now wider + tweaked some messages
  527. * Shader selection menu is now sorted alphabetically
  528. * Template parsing performance improved with multi-threading (up to 8x faster)
  529. * Fixed errors related to get_productName
  530. * Fixed previews not refreshing during undo or master node replacement
  531. * Fixed inline properties due to template upgrade bug caused by property reordering
  532. v1.8.9 rev 35:
  533. * Fixes:
  534. * Fixed incorrect templates being imported on latest SRP 10 versions
  535. * Fixed info message over 'HeightMap Texture Blend' node
  536. * Prevented URL fetch on non-attributes nodes which resulted on null-pointer exception
  537. v1.8.9 rev 34:
  538. * New Template:
  539. * URP 12 2D Custom Lit
  540. * Improvements:
  541. * Updated HDRP 12 Fabric template
  542. * Fixes:
  543. * Alpha clip is also activated when only Alpha Clip Threshold Shadow is used on URP PBR (all versions)
  544. * Users were forced to connect something to Alpha Clip Threshold to activate it
  545. v1.8.9 rev 33:
  546. * Fixes:
  547. * Forced forward render path on URP 12 Unlit so it can be properly rendered independently of selected render path
  548. * Fixed issue with Shadow Matte option on HDRP 10/11/12 Unlit
  549. v1.8.9 rev 32:
  550. * Fixes:
  551. * URP 12 PBR template
  552. * Fixed incorrect interpolator setup on Meta pass
  553. * HDRP 12 Lit template
  554. * Fixed incorrect interpolator setup over Scene Picking pass
  555. * Vertex function on Meta Pass now correctly uses Unity internal functions
  556. * Motion Vector pass now taking UNITY_REVERSED_Z correctly into account
  557. * Removed UnityPerMaterial constant buffer declaration from FullScreenDebug pass
  558. * HDRP 12 Unlit template
  559. * Fixed incorrect interpolator setup over Scene Picking pass
  560. v1.8.9 rev 31:
  561. * Fixes:
  562. * Removed duplicate pragma from HDRP Lit FullScreenDebug pass
  563. v1.8.9 rev 29/30:
  564. * Improvements:
  565. * Updated HDRP Lit, Unlit and Decal templates source code and lib usage according to latest v12
  566. * No new features were added at this point, only updated existing ones
  567. * Tweaked how template options are applied after shader is read into ASE to avoid incorrect results when they modify same data
  568. * Fixes:
  569. * Fixed issues on URP PBR 12
  570. * Transmission and Translucency options now disable GBuffer pass on URP Lit 12
  571. * Removed Translucency, Transmission and Refraction code from GBuffer pass as well
  572. * Moved ZWrite and ZTest tags from Forward pass to subshader so it can affect all common passes
  573. * Fixed issues on URP Unlit 12
  574. * Removed incorrect Cull set over Depth Normals pass on URP Unlit 12
  575. v1.8.9 rev 28:
  576. * Fixes:
  577. * Fixed issue on Editor Viz mode over URP PBR 12 template
  578. v1.8.9 rev 27:
  579. * New Shader Function:
  580. * Normal Reconstruct Z
  581. * Gets the correct Z value for generated normal maps using a given X and Y value from input
  582. * Fixes:
  583. * Minor fix on Depth Normals pass over URP PBR 12
  584. * Fixed vertex tangent registry issue on multiple passes over URP Decals template
  585. * Fixed world position and world normal retrieval on URP Decals template
  586. * Fixed issue on incorrect URP template being imported on SRP v10.7.0
  587. * Improvements:
  588. * Added new Anisotropic Filtering setup on 'Sampler State' node
  589. * Only available on Unity 2021.2 and above
  590. * Added Color Mask option into 'Outline' node
  591. v1.8.9 rev 26:
  592. * Improvements:
  593. * Unity URP 12 new inspectors now selectable on Custom Editor dropdown over master node properties
  594. v1.8.9 rev 25:
  595. * Improvements:
  596. * Added new 'Force Template Min. Shader Model' preferences option
  597. * Active by default
  598. * If active, when loading a shader its shader model will be replaced by the one specified in template if what is loaded is below the one set over the template
  599. * To disable this behavior please toggle off Preferences > Amplify Shader Editor > Force Template Min. Shader Model
  600. * New Unity URP 12 inpectors now selectable on Custom Editor dropdown
  601. v1.8.9 rev 24:
  602. * New Template:
  603. * Decals URP
  604. * Improvements:
  605. * Updated all URP templates to version 12
  606. * URP 11 shaders will have its Custom Inspector updated to URP 12 inspectors
  607. * Registered SRP 12.x.x versions into ASE Package Manager
  608. * Added new template ChangeTagValue option action to change subshader/pass tags from template options (API)
  609. * 'Light Attenuation' node now generates URP 12 specific code when used on that version
  610. * Fixes:
  611. * Values to all string variables on Save Bundle Asset are set to a default value to prevent warnings
  612. * File Asset mode on 'Custom Expression' node now takes hlsl files dropped from the packages folder correctly into account
  613. v1.8.9 rev 23:
  614. * Fixes:
  615. * Removed incorrect white space on the 'Sticky Note' node file
  616. * Fixed issue on 'Texture Sampler' node registering incorrect UV coordinate size when using custom uv node
  617. * Fixed issue on having only UNITY_VERTEX_INPUT_INSTANCE_ID not being correctly registered on templates when ase_vdata is empty
  618. * File mode on 'Custom Expression' node no longer needs a valid text asset to generate a function call
  619. * This can be used to call internal functions over a template based shader
  620. * Added pipe (|) as an invalid property name character
  621. v1.8.9 rev 22:
  622. * Fixes:
  623. * Fixed issue with variable redefinition when on a specific outline usage over surface shaders
  624. v1.8.9 rev 21:
  625. * Fixes:
  626. * Fixed issues on Flow shader function
  627. * Fixed issue on reading/using custom tags(API)
  628. * Fixed issue on shader lod tag not being correctly removed if no lod is configured
  629. * Improvements:
  630. * Minor improvement on Safe Power option over 'Power' node
  631. * Added shader LOD tag into URP Unlit, HDRP Lit and Unlit templates
  632. v1.8.9 rev 20:
  633. * Fixes:
  634. * Fixed internal HDRP and URP template version controller not being bumped on previous build
  635. v1.8.9 rev 19:
  636. * Fixes:
  637. * Fixed issue on 'Material Quality' node not adapting correctly to connected input ports
  638. * Fixed multiple depth related issues on HD Lit over SRP 10/11
  639. * 'Indirect Diffuse' node now takes baked GI into account over URP
  640. * Improvements:
  641. * Vertex tangents now also taken into account over billboard code
  642. * Added new Affect Normal/Tangent option over Billboards
  643. * When turned off only vertex position is changed by billboard code
  644. v1.8.9 rev 18:
  645. * New Shader Function:
  646. * Dielectric Specular
  647. * Returns a Dielectric Specular F0 value for a physically based material with a similar behavior and options from Unity HDRP Dielectric Specular node
  648. * Fixes:
  649. * Fixed both URP Lit and Unlit templates not taking punctual light shadows into account over shadowcaster pass
  650. * Fixed issue with internal drag and drop tool error on Unity 2021.2
  651. * URP 2D Lit is now compatible with SRP v12
  652. * Improvements:
  653. * Modified Sprite Mask port type to Float4 on URP 10/11 2D Lit
  654. * Added Tangent port on URP 10/11 2D Unlit
  655. * Changed 2D Lit and Unlit custom inspectors to use our custom inspector and be compatible across all versions
  656. * SG doesn't use any custom inspector on these templates over v10 and 11 and then uses a generic new one over v12
  657. v1.8.9 rev 17:
  658. * Fixes:
  659. * Fixed issue on 'Relay' node not accepting texture object connection types after other type is connected to it
  660. * Fixed issue with somethings attempting to open incorrect asset when hitting the Material Inspector's 'Edit...' button
  661. * Fixed issue with UV usage over 3D textures on 'Texture Sampler' node when channel id is above 4
  662. * Fixed issue on surface shader with extra interpolators being generated if asking the data collector different uv sizes from same set
  663. * Fixed issue on attempting to register duplicate node types when gathering them from both main assembly and asmdefs
  664. * Improvements:
  665. * 'Function Switch' nodes now support texture object connection types
  666. v1.8.9 rev 16:
  667. * New Shader Function:
  668. * HDRP Decal UVs
  669. * Returns the transformed uvs with Decal Projector tiling and offset taken into account.
  670. * Improvements:
  671. * Added option to 'Instance Id' node to toggle between Unity native instance variable or SV_InstanceId
  672. * Updated HDRP samples to latest templates
  673. * Legacy samples moved to new 'HDRP Samples 7xx - 9xx (Legacy)' package
  674. v1.8.9 rev 15:
  675. * New Shader Function:
  676. * URP Tangent To World Normal
  677. * Converts a normal vector in tangent space into world space
  678. * Generates a more precise but less performant result than the default template behavior
  679. * Improvements:
  680. * Forced ASE symbol check with InitializeOnLoad so custom nodes ( using that symbol ) can be taken into account when opening an ASE canvas for the first time
  681. * Added custom url setup for shader functions, if a custom url is set it will be called when user hits F1 over the SF
  682. * Default node url will be created and used if no custom one is set
  683. * ASE now takes asmdefs in project into account when registering valid node types
  684. * Fixes:
  685. * Fixed compilation error when manually declaring _CameraDepthTexture over SRP templates
  686. * Fixed issue with duplicate variable names on 'Voronoi' node
  687. * Fixed issue on template Dest Factor inline value not being correctly reset when option is applied
  688. * File Mode on 'Custom Expression' node now generates relative paths
  689. * Fixed incorrect usage of Depth Texture macros on older Unity versions
  690. * Fixed issue on 'Position From Transform' node
  691. * Fixed issue with EV100 Intensity Unit on 'HD Emission' node over HDRP 10.6 and above
  692. v1.8.9 rev 14:
  693. * New Shader Function:
  694. * Custom Screen Position
  695. * Compute screen position from a custom vertex position or offset
  696. * Fixes:
  697. * 'Clip Planes' node now working on HDRP
  698. * Fixed compilation error on 'Substance Sampler' node
  699. * Fixed issues on multiple template specific nodes when switching shader types, popping correct error messages, enabling and disabling node properties
  700. * Fixed issue on shader functions when clicked opening on a new tab when already opened on one
  701. * Reconstruct World Position From Depth shader function now correctly takes URP 7.x.x into account
  702. * Fixed issue with float to string generation on 'Float' node
  703. * Fixed incorrect _ST generation on tex1D type
  704. * Improvements:
  705. * Updated default Tiling to (1,1) on Procedural Sample shader function
  706. * Added tags on all trigonometric nodes to match SG counterparts on search
  707. * Added stencil buffer config on subshader level across all versions of URP PBR and Unlit templates
  708. * Improved object to clip transform on 'Transform Position' node
  709. * Now uses a single native SRP function to perform the transform
  710. * Added option to add Matrix var types into UnityPerMaterial constant buffer
  711. * Select CBuffer on Type dropdown
  712. * Only appears on SRP shader types
  713. v1.8.9 rev 13:
  714. * New Shader Function:
  715. * Lambert Light
  716. * Fixes:
  717. * Fixed previews being affected by projects color space over Unity latest version
  718. * Fixed compilation errors on HDRP 10 Hair Template
  719. * Fixed issue on preview not being correctly updated when gradient is changed on 'Gradient' node
  720. * Fixed issue on 'Gradient Sample' node not taking connected gradient into account when refreshing preview
  721. * Fixed issue with unnecessarily incrementing property name when copy-paste nodes between graphs
  722. * Fixed unnecessary code duplication on Procedural Sample SF
  723. * Fixed issue with 'Outline' node not generating error messages when incorrectly used
  724. * Fixed issue on double clicking on shader or material not opening ASE canvas on latest Unity versions
  725. * Reconstruct World Pos from Depth SF now properly works on URP 7.6.0
  726. * Fixed issue on internally generated non-normalized normal, tangent and bitangent vectors on surface shaders when scaling applied
  727. * Affected nodes like 'Triplanar Sample' node
  728. * Improvements:
  729. * Face variable nodes now also work on vertex ports at the expense of additional instructions
  730. * A warning is generated to make the user aware of it
  731. * Added new Type option into 'Unpack Scale Normal' node
  732. * Sets the coordinate space of the normal set as input
  733. v1.8.9 rev 12:
  734. * Fixes:
  735. * Fixed issue on incorrectly writing render platform info on shader meta even if none is present over its template
  736. * Improvements:
  737. * Moved Render Platform declaration on URP templates to SubShader level so it can be properly used by latest Render Platform feature on templates
  738. v1.8.9 rev 11:
  739. * Fixes:
  740. * Fixed missing link id over fragment Normal port on URP 10
  741. * Improvements:
  742. * Added new NaN prevention checkbox over 'HeighMap Texture Blend' node
  743. * Added support to Rendering Platform selection on templates API
  744. * Not all templates have it implemented
  745. * Added both switch and nomrt tags into Rendering Platforms list
  746. v1.8.9 rev 10:
  747. * New Nodes:
  748. * Bone Blend Weights
  749. * Only compatible with Unity 2019.1 or above and template type shaders
  750. * Bone Blend Indices
  751. * Only compatible with Unity 2019.1 or above and template type shaders
  752. * Fixes:
  753. * Fixed issue on some port results not being correctly written on GBuffer pass over URP v.11
  754. * Fixed yet another issue with ransomned property names
  755. * Fixed redefinition error on 'Triplanar Sample'node
  756. * Fixed undeclared standard surface Tessellation properties for both Edge Length and Edge Length with Cull
  757. * Fixed warning on duplicates directives being set over options template type shaders
  758. * Fixed truncation warning on Legacy Refraction over URP/PBR
  759. * Fixed error on 'Global Array' node where index clamping was being done always with local value even on Reference setup
  760. * Fixed multiple redefinition warnings on MultiPassUnlit template
  761. * Fixed issue with obsolete Decal custom inspector on HDRP 10 being used on HDRP 11
  762. * Fixed issue on incorrect naming when creating shaders/shader functions on local packages
  763. * Had to revert node previews render texture format to its original one
  764. * Time based previews weren't working correctly due to lack of precision over new format
  765. * Improvements:
  766. * Face type nodes now also using SRP core macros when on URP
  767. * These macros use either VFACE or SV_IsFrontFace according to graphics API
  768. * For Builtin pipeline custom Face macros were created similar to SRP ones
  769. v1.8.9 rev 09:
  770. * Fixes:
  771. * Limiting new XBox and Playstation Render Platform tags to Unity 2019.4 and above
  772. * They throw an unrecognized renderer warning on older versions
  773. * Created new HDRP package for versions 7 prior to 7.5.1 to apply correct legacy render platform tags over those
  774. v1.8.9 rev 08:
  775. * New Community Sample:
  776. * URP Reflection Probe by Dawie
  777. * http://deenvironment.com/
  778. * Fixes:
  779. * Fixed dummy render texture used when previews are off being lost on hot-code reload
  780. v1.8.9 rev 07:
  781. * Fixes:
  782. * Fixed compilation errors shown when building with HDRP 10 Lit shaders
  783. * Fixed incorrect normal usage order when dealing with Decals on HD Lit
  784. * Fixed detected leak on nodes previews
  785. * Fixed minor typo on matrix label over 'Global Array' node
  786. * Improvements:
  787. * Updated Playstation and XBox HDRP template's render platforms
  788. * Updated Render Platforms on Standard Surface with new Playstation and XBox
  789. * Decreased memory usage by previews
  790. * Added new 'Disable Node Previews' option on Preferences panel
  791. * Completely disables all node previews to gain extra performance on large graphs
  792. v1.8.9 rev 06:
  793. * Fixes:
  794. * Fixed issue with property nodes set in Fetch mode not properly releasing their property names
  795. * Sampler state generation now takes node variable mode into account to prevent compilation errors
  796. * Variable declaration disabled in Fetch mode
  797. * Fetch Lightmap Value SF 'Texture Object' node using unity_Lightmap now on Fetch mode
  798. * Texture object and sampler state were being incorrectly declared over Unity Built In
  799. v1.8.9 rev 05:
  800. * Fixes:
  801. * Fixed compilation error on 'Voronoi' node
  802. v1.8.9 rev 04:
  803. * Fixes:
  804. * Removed duplicate Dependencies on URP Terrain sample
  805. * Fixed issue on 'Camera Depth Fade', 'Depth Fade' and 'Surface Depth' nodes when used on vertex body alone and alongside fragment function
  806. * Fixed incorrect code generation when using 'Depth Fade' on Surface's vertex function
  807. * Improvements:
  808. * Added Diffuse Tint capabilities into Four Splats First Pass Terrain SF for URP
  809. * User also needs to change the shader's Custom Inspector to UnityEditor.Rendering.Universal.TerrainLitShaderGUI
  810. * A Unity restart is required after saving the shader for the Terrain inspector to correctly show the values
  811. * This info is available inside the shader function over a sticky note
  812. v1.8.9 rev 03:
  813. * New Node:
  814. * Reflection Probe
  815. * Only available for URP
  816. * Improvements:
  817. * Added Legacy Behavior for 'LOD Fade' node over 2019 and above
  818. * Values given by internal variable unity_LODFade.x now can be either positive (fade-out) or negative (fade-in)
  819. * Toggling Legacy option makes that value given is similar to old one ( always positive and sum of fade in/out is 1 )
  820. * Added new Apply To Id over 'Voronoi' node to apply smoothess to IDs
  821. * Behavior similar to Blender Voronoi Smooth Ids
  822. * Added Shadow Mask option for 'SRP Additional Light' shader function
  823. * Only available for URP 10 and above
  824. * Fixes:
  825. * Fixed issue with 'Billboard' node over URP
  826. v1.8.9 rev 02:
  827. * Fixes:
  828. * Fixed conditional error thrown by Custom Lighting over Unity 2020.3
  829. * Correct template is now imported on SRP 7.6.0
  830. * Fixed issue on using undeclared clipPos variable on all URP Unlit versions
  831. * Fixed issue on usage of undeclared struct over Decal HDRP 10
  832. * Improvements:
  833. * Internal AddRGBToHSVFunction is now static (API)
  834. * 'HD Emission' node is now imported with main package
  835. * Adding failsafe and error message to when used outside an HDRP shader
  836. * Adding File mode into 'Custom Expression' node
  837. * User can drag and drop a .cginc/.hlsl file into the new Source field and will automatically include it on shader as an #include
  838. * Function call uses value set on Name
  839. * Can also automatically add precision suffix into call via the Precision Suffix toggle
  840. * Behavior similar to Shader Graph
  841. v1.8.9 rev 01:
  842. * Fixes:
  843. * Fixed issue when using Tessellation on Standard Surface type shaders over iOS
  844. v1.8.9 rev 00:
  845. * Improvements:
  846. * Added Safe Normalize option into 'Normalize' node to prevent division by zero warnings
  847. * Added Safe option when Normalize is toggled on 'Transform Direction' node to prevent division by zero warnings
  848. * Fixes:
  849. * Fixed issues with HDRP Decal template on v10.3.2
  850. * Fixed issue on 'Get Local Var' node syncing with its 'Register Local Var' node counterparts type change too late leading to port type issues over nested shader functions
  851. v1.8.8 rev 14:
  852. * Improvements:
  853. * Added new Receive SSR Transparent into HDRP Lit v10.x.x
  854. * Fixes:
  855. * Removed unnecessary DX11 debug symbols from all URP PBR templates
  856. * They were causing compilation errors over users on Windows 7
  857. v1.8.8 rev 13:
  858. * New Shader Function:
  859. * Stereo Screen Pos
  860. * Transforms a Screen Position value from non Stereo to VR Stereo
  861. * Fixes:
  862. * Fixed View to World transform over 'Transform Position' node
  863. * Fixed issue on concurrent late opening over materials, shaders and shader functions
  864. * Improvements:
  865. * ASE shaders can now be opened while in Play Mode over Unity 2018.4 if no SRP template is required to be imported
  866. * Renamed legacy HDRP and URP 7xx packages to explicitly show version range
  867. * 'HDSRPTemplates 7xx (Legacy)' to 'HDSRPTemplates 7xx - 9xx (Legacy)'
  868. * 'USRPTemplates 7xx (Legacy)' to 'USRPTemplates 7xx - 9xx (Legacy)'
  869. * To avoid GUID conflicts renamed files have new GUID
  870. * Due to how Unity importer works old files are maintained in project
  871. * These can be safely deleted from project
  872. v1.8.8 rev 12:
  873. * Improvements:
  874. * Added directive ASE_USING_SAMPLING_MACROS when Use Sampling Macros is active
  875. * To be used inside 'Custom Expressions' for multiple sampling behaviors
  876. * Added Sampler State port into Bidirectional Parallax Mapping SF
  877. * Only visible when new Unity 2018 or Higher toggle is active
  878. * Added option "Update on Scene save" into ASE Preferences to lock SceneSaveCallback usage (Ctrl+S)
  879. * Fixes:
  880. * Fixed incorrect sampler declaration on 'Custom expression' node over Standard surface when Use Sampling Macros is active
  881. * Fixed Bidirectional Parallax Mapping SF issues when Use Sampling Macros is active
  882. * Fixed issue with incorrect loading of Depth Vffset values on Standard Surface node
  883. * Fixed potential issue with trying to set custom data types into 'Texture Sample node's Tex port
  884. v1.8.8 rev 11:
  885. * Fixes:
  886. * Fixed issue with Reconstruct World Position From Depth SF on both URP and HDRP v7.5.3
  887. * Improvements:
  888. * Ported Omni Decal sample to URP
  889. v1.8.8 rev 10:
  890. * Fixes:
  891. * Fixed incorrect templates package import over new SRP v7.5.3
  892. * Fixed visual issue with both Remap Sliders and Remap Sliders Full custom material drawers
  893. v1.8.8 rev 09:
  894. * Improvements:
  895. * Added new Write Depth option over URP PBR templates
  896. * If Early Z option is selected SV_DepthLessEqual semantic is used instead of SV_Depth
  897. * Added new Sample interpolator attribute on 'Vertex To Fragment' node
  898. * Interpolates at sample location rather than at the pixel center
  899. v1.8.8 rev 08:
  900. * Fixes:
  901. * Fixed retro-compatibility issue on 'Texture Sample' node input port data
  902. * Fixed code redefinition issue on 'Triplanar Sampler' node
  903. v1.8.0 rev 07:
  904. * Improvements:
  905. * Internaly deprecating custom NoKeywordToggle attribute in favor of Unity's native ToggleUI when on Unity 2018.1 or higher
  906. * 'Toggle Switch' node now has option to deactivate keyword creation by its drawer
  907. * Fixes:
  908. * Fixed missing end pass tag over Double Pass Unlit template used on Multipass Distortion sample
  909. v1.8.8 rev 06:
  910. * Fixes:
  911. * Fixed issue on custom values set on template modules (Blend,Cull,Depth,etc) being overwritten when reloading shader
  912. * Fixed issue on duplicating local variables when registered with different precisions across multiple nodes
  913. v1.8.8 rev 05:
  914. * Fixes:
  915. * Fixed compilation error on 'Linear Depth' node both on URP and HDRP
  916. * Fixed issue with canvas screenshot while window is maximized over Unity 2020.2
  917. * Fixed issue with sampling macros usage on 'Outline' node leading to compilation errors
  918. * Improvements:
  919. * Added info message for Unity 2019.4 or higher when async shader compilation is active
  920. * Can be turned off via Preferences > Amplify Shader Editor > Show Shader Async. Compilation Message
  921. * 'Diffusion Profile' node now makes use of new Material Property Drawer introduced on HDRP 10
  922. * Only on Unity 2020.2 or higher
  923. v1.8.8 rev 04:
  924. * Fixes:
  925. * Fixed Decals not showing correctly on HDRP 10 Lit template
  926. v1.8.8 rev 03:
  927. * Fixes:
  928. * Fixed issue with Distortion feature over HD Unlit templates
  929. * After compiling, the user may need to switch Surface Type from Transparent to Opaque and then back to Transparent over the Material Inspector
  930. * This is due to some internal properties which need to be set by Unity's internal HD Unlit material inspector
  931. * Fixed compilation issue with Tessellation when creating a URP/HDRP shader with multiple shader lods
  932. * Fixed issue when updating shaders with multiple lods using deprecated templates
  933. v1.8.8 rev 02:
  934. * Fixes:
  935. * Fixed Update button message not refreshing correctly
  936. * Fixed multiple editor visual issues when using ASE under the iOS platform
  937. * Fixed Fetch Lightmap Value SF setting incorrect instructions for its Decode function over URP on Gamma color space
  938. * Fixed issue with new Shadowmask feature over URP PBR 10
  939. * Improvements:
  940. * Added better fallback to shaders created with deprecated (and already inexistent) templates
  941. * Refactored shown message by Update button tooltip
  942. * Added new Exposure option and LOD port for 'Grab Screen Color' node (Only active on HDRP)
  943. v1.8.8 rev 01:
  944. * Fixes:
  945. * Fixed issue on 'Billboard' node with Ignore Rotation toggled over HDRP
  946. * 'Custom Expression' node non void return test now takes internal expression mode into account
  947. * Fixed issue with Final Color x Alpha option deactivation on Universal PBR
  948. * Improvements:
  949. * Refactored how custom ASEBegin and ASEEnd decorators are placed over shader properties
  950. * Responsible for adding the Open In Shader Editor button over Unity native inspectors and refreshing material property values over ASE canvas respectively
  951. v1.8.8 rev 00:
  952. * Fixes:
  953. * Fixed SSAO issue over Universal 10 PBR template
  954. * Fixed issue with GPU instancing and Stereo VR on multiple Builtin Legacy templates
  955. v1.8.7 rev 18:
  956. * Fixes:
  957. * Fixed missing ASE Pragma tag over HDRP 10 Decal template
  958. * Improvements:
  959. * Added new DepthNormals and GBuffer passes over Universal 10 PBR template
  960. v1.8.7 rev 17:
  961. * Fixes:
  962. * Fixed issue with debug display across multiple HDRP 10 templates
  963. * Fixed 'Compile and show code' button not working over ASE custom shader inspector on Unity 2020.2
  964. * Improvements:
  965. * Added new strip #line directives over ASE custom shader inspector on Unity 2020.2
  966. v1.8.7 rev 16:
  967. * Fixes:
  968. * Fixed multiple _BlendMode issues across all HDRP templates
  969. * Fixed issue with using custom meshes on standard surface custom material inspector over 2020.1 and above
  970. v1.8.7 rev 15:
  971. * Fixes:
  972. * Automatically converting obsolete custom inspectors from HDRP v.7/8/9 when reading shaders into HDRP 10
  973. * Bumped internal HDRP version control to force new HDRP 10 templates to be unpacked
  974. v1.8.7 rev 14:
  975. * New Node:
  976. * Sticky Note
  977. * Allows user to add notes directly on the ASE canvas
  978. * Improvements:
  979. * Updated HDRP templates to be compatible with SRP 10
  980. * Fixes:
  981. * Fixed issue with inverted depth dir on Reconstruct World Position From Depth SF over HDRP 8 and above
  982. * Fixed minor issue over Tags foldout on templates node properties
  983. * Added missing SRP versions into ASE Package Manager
  984. * SRP v.8.3.1
  985. * SRP v.7.5.1
  986. * SRP v.7.5.2
  987. * SRP v.9.0.0 Preview 71
  988. v1.8.7 rev 13:
  989. * Fixes:
  990. * Fixed issue with capturing canvas screen shot while maximized
  991. * Removed multiple incorrect port restrictions over 'Triplanar Sample' node
  992. * Fixed issue on incorrect template behavior if on a template inline option its internal property is selected via the the inline dropdown
  993. * Fixed issue on template options type set to inline but with no inline property selected
  994. * Fixed issue on losing inline properties between canvas
  995. * Improvements:
  996. * 'Dither' node now has new SS input port to be able to use custom sampler states
  997. v1.8.7 rev 12:
  998. * Fixes:
  999. * Fixed issue with removing Header attributes
  1000. v1.8.7 rev 11:
  1001. * New Sample:
  1002. * Transparent Cutout for both URP and HDRP
  1003. v1.8.7 rev 10:
  1004. * Fixes:
  1005. * Fixed issue on user not being able to use the dot/period character on Header attributes
  1006. * Fixed issue on Header attributes not being correctly shown on 'Color' node
  1007. v1.8.7 rev 09:
  1008. * Improvements:
  1009. * User can now specify multiple headers for each property
  1010. v1.8.7 rev 08:
  1011. * Improvements:
  1012. * Added new No Interpolation option into 'Vertex To Fragment' node
  1013. * Added new Header attribute for property type nodes
  1014. * Added new No Keyword Toggle attribute for 'Float' node
  1015. * Added new Remap Slider custom drawer for 'Vector4' node
  1016. * User must specify min limit and max limit on Z and W coordinate respectively
  1017. v1.8.7 rev 07:
  1018. * Fixes:
  1019. * Fixed issue on 'Texture Sampler' node incorrectly generating sampler states when its R,G,B,A ports were being used
  1020. v1.8.7 rev 06:
  1021. * Fixes:
  1022. * Fixed compilation error on Built-in RP with 'Grab Screen Color' node when Auto-Register is turned on over Unity 5.6 and above
  1023. v1.8.7 rev 05:
  1024. * Fixes:
  1025. * Fixed issue on 'Indirect Diffuse Light' node not showing correct results over Builtin templates on Unity 2019
  1026. * Fixed issue on SubShader body not being correctly filled if main master node's pass is disabled
  1027. * Fixed issue on incorrect clip over holes usage on URP Terrain sample
  1028. v1.8.7 rev 04:
  1029. * New Shader Function:
  1030. * Normal From Texture
  1031. Fixes:
  1032. * Fixed issues on Normal From Height shader function
  1033. * Fixed issue on ASE window attempting to import templates when entering in Play mode
  1034. * Fixed issue on 'Function Switch' node not updating correctly when on Reference mode
  1035. * Improvements:
  1036. * Empty textfield value on 'Function Subtitle' node now removes the sub-title over its shader function node
  1037. * Added new Clear Log on Update option into ASE preferences (on by default)
  1038. * Clears an ASE log window each time the user hits the Update button
  1039. v1.8.7 rev 03:
  1040. * Shader Functions:
  1041. * Removed High Quality option from Normal From Height shader function
  1042. * This will be later added on a separate shader function
  1043. * Fixes:
  1044. * Inline code from set by 'Custom Expression' node now placed under their own scope { (...) } to prevent duplication errors
  1045. * Fixed issue on Procedural Texture type not having a texture to wire correspondence over 'Texture Sampler' node
  1046. v1.8.7 rev 02:
  1047. * IMPORTANT - Node renamed:
  1048. * 'Break To Components' node renamed to 'Split' to decrease its canvas size
  1049. * New Shader Functions:
  1050. * Bicubic Precompute
  1051. * Bicubic Sample
  1052. * Fixes:
  1053. * Fixed issue on 'Break To Components' node disabling connections on loading it from disk
  1054. * Fixed issue on duplicate error thrown when multiple Normal From Height shader functions are used
  1055. v1.8.7 rev 01:
  1056. * Shader Function Removed:
  1057. * Procedural Sample 2D Array was removed
  1058. * Procedural Sample 2D now renamed to Procedural Sample and has internal options that allow usage with 2D Array and more
  1059. * Improvements:
  1060. * Added Fast and High Quality options to Normal From Height shader function
  1061. * Improved error messages thrown by 'Custom Expression' node
  1062. * Renamed Procedural Sample 2D to Procedural Sample and added Sample Mode option
  1063. * Planar 2D
  1064. * Planar 2D Array
  1065. * Triplanar 2D
  1066. * Triplanar 2D Array
  1067. * Fixes:
  1068. * Fixed issue on only converting CRLF to LF and not CR to LF when reading templates or using pasted code on 'Custom Expression' nodes
  1069. * This lead to inconsistent line ending warnings being thrown
  1070. * Fixed issue on some warnings from 'Custom Expression' node no being clickable on log to select which node they were thrown from
  1071. v1.8.7 rev 00:
  1072. * New Shader Function:
  1073. * Procedural Sample 2D Array
  1074. * Improvements:
  1075. * Improved Procedural Sample 2D shader function
  1076. v1.8.6 rev 02:
  1077. * Fixes:
  1078. * Fixed division by zero warning on 'Gradient Sample' node
  1079. * Fixed issue on 'Static Switch ' node incorrectly adding suffixes into fetched custom keywords
  1080. * Fixed issue with attempting to register duplicate property names when reading 'Static Switch' node meta from old ASE versions
  1081. v1.8.6 rev 01:
  1082. * New Shader Function:
  1083. * Procedural Sample 2D
  1084. * Fixes:
  1085. * Fixed issue with duplicate generated code over 'World Reflection' node
  1086. v1.8.6 rev 00:
  1087. * Improvements:
  1088. * Improved Plane Clip sample
  1089. v1.8.5 rev 06:
  1090. * Fixes:
  1091.     * Locking 'Decode Depth Normals' usage to Builtin pipeline and informing of that when used on SRP
  1092.         * Was currently generating compilation errors over SRP
  1093.     * Fixed issue on Auto-Register flag over property nodes not being correctly registered in certain cases
  1094.     * Fixed issue where graph sampling macro flag was incorrectly being set by non main master nodes
  1095. * Improvements:
  1096.     * Auto-register check on texture property type node also register sampler if 'Use Sampling Macros' flag is enabled on master node
  1097.     * Adding support for mask maps over 'Four Splats First Pass Terrain' shader function
  1098.         * Only available on SRP and output node must have 'Use Sampling Macros' flag turned on
  1099. v1.8.5 rev 05:
  1100. * Fixes:
  1101. * Fixed issue with incorrect values returned from nodes using internal 'Texture Object' instances
  1102. * Fixed duplicate uv declarations issue when being requested different sizes by 'Texture Sampler' nodes
  1103. * Fixed duplicate directives issue caused by adding directives on both 'Outline' node generated surface and main one
  1104. v1.8.5 rev 04:
  1105. * Fixes:
  1106. * Fixed issue on texture node types auto-sampler generator
  1107. v1.8.5 rev 03:
  1108. * New Sample:
  1109. * Plane Clip
  1110. * Fixes:
  1111. * Fixed issue on 'Blend Normals' node preview not taking SRP options into account
  1112. * Fixed visual issue on node properties menu over nodes:
  1113. * Template Parameter
  1114. * Template Local Var
  1115. * Template Vertex Data
  1116. * Template Fragment Data
  1117. * Improvements:
  1118. * Simplified 'Template Parameter' usage
  1119. * User no longer need to choose scope to parameters to be available
  1120. * New Advanced View toggle added to switch to old view
  1121. * Added widget on 'Texture Coordinates' node to change output size directly from the node
  1122. v1.8.5 rev 02:
  1123. * New Community Shader Function
  1124. * Depth Masked Refraction by @saismirk
  1125. Fixes:
  1126. * Fixed incorrect uv variable name being used when set is greater that 3
  1127. * Fixed incorrect swizzling when using texture sets on vertex data over surface shaders
  1128. * Fixed issue over texture array tool on not being able to use compressed formats
  1129. v1.8.5 rev 01:
  1130. * Fixes:
  1131. * Fixed issue regarding uv coordinates usage with tessellation on URP PBR template
  1132. * Improvements:
  1133. * Replaced fmod instruction usage on 'Remainder' node by faster true remainder calculation
  1134. v1.8.5 rev 00:
  1135. * Fixes:
  1136. * Fixed desync issue between graph and master node sampling macro flag
  1137. * Fixed unknown INSTANCEID_SEMANTICS enum value being thrown on legacy HDRP
  1138. v1.8.4 rev 04:
  1139. * Fixes:
  1140. * Fixed issue on 'Substance Sampler' node
  1141. * Fixed incorrectly drawn preview on Unity 2018 and above
  1142. * Prevented incorrect ports types being set when texture order is internally changed on Substance
  1143. * Fixed variable redefinition on 'Gradient' node when used on shader functions
  1144. * Fixed duplicate issue when declaring cbuffers on both outline and main surface shaders
  1145. * Fixed URP Terrain sample layer composition
  1146. * Improvements:
  1147. * 'FWidth' node now throws an ASE console error when connected to non-fragment ports
  1148. * Also generates dummy value to prevent compilation error
  1149. * Added terrain holes support on Four Splats First Pass Terrain shader function
  1150. * Activate Holes option
  1151. * Added new Final Color x Alpha option on URP PBR template
  1152. * Required to correctly blend terrain layers
  1153. v1.8.4 rev 03:
  1154. * Fixes:
  1155. * Fixed Color Mask MRT Id not being written on inline properties
  1156. * Caused HDRP Lit shaders to become invisible when compiled in some versions
  1157. v1.8.4 rev 02:
  1158. * New Template:
  1159. * Legacy/Lit
  1160. * Mimics behavior of standard surface but without some of its limitations
  1161. * Can override Baked GI
  1162. * Removes limitation of using nodes like 'Indirect Specular Light' only on Custom Lighting
  1163. * Fixes:
  1164. * Added missing support for per-pixel normals in terrain shaders for URP (still requires adding the keyword separately)
  1165. * Fixed issue with alpha clip threshold not working properly in all cases when using the HDRP Lit template
  1166. * Fixed issue with template loading that was not catching global variable in certain situations (API)
  1167. * Fixed rare issue where changing shader templates could cause the options to fail to load properly due to not finding the new master node
  1168. * Fixed issue on Depth Texture macro declaration being incorrectly duplicated when already present on template
  1169. * Now depth related nodes can be correctly used on Particle Alpha Blended template
  1170. * Fixed issue on uncaught exception when attempting to load an in-existent Assembly-CSharp-Editor assembly
  1171. * Could happen when attempting to load invalid nodes
  1172. * Fixed issue on not being able to connect 'Texture Object' nodes to 'Register Local Var' node
  1173. * Fixed issue on vertex instructions generated by outline fragment ports to be correctly written on its vertex code
  1174. * Fixes 'Camera Depth Fade' usage on 'Outline' node
  1175. * Improvements:
  1176. * Updated the Four Splats First Pass Terrain shader function to include a new option for SRP terrain to allow per pixel normals
  1177. * 'Static Switch' node
  1178. * Now allows editing of certain parameters while in Fetch mode
  1179. * Now allow the explicit naming of the keyword created besides the automatic one with a lock button
  1180. * Forcing vertex position w component to 1 when setting a new offset or position over Standard Surface type shaders
  1181. * Prevent real-time shadow issues on vertex manipulation
  1182. v1.8.4 rev 01:
  1183. * Improvements:
  1184. * Added "Open in Shader Editor" button into SRP materials (needs shader save)
  1185. * Now SRP materials update ASE editor property values while the editor is open (needs shader save)
  1186. * Remove dependencies for custom shader inspector (now, allows deleting the file)
  1187. * Fixes:
  1188. * Fixed Dots instancing option in URP unlit
  1189. * Fixed UV generation in Mesh Decals template
  1190. * Fixed Normals and Emission Bias in Mesh Decals template
  1191. v1.8.4 rev 00:
  1192. * New HDRP Samples:
  1193. * Added new 'Decal Muddy Ground' and 'Decal Scifi Panel' HDRP samples using various types of decals
  1194. * Improvements:
  1195. * Added automatic 'Open and Save All' button in shader function files that tries to compiled all dependency shaders and shader functions
  1196. * Texture Array tool now allows to create an asset file representing all options in order to save work for later
  1197. * Texture Array no longer locks width and height at power of two for more recent versions of unity
  1198. * Added clip shadow threshold and alpha to coverage options to URP PBR and URP Unlit shaders
  1199. * Fixes:
  1200. * Fixed leak in the automatic template importer
  1201. * Template importer now properly skips non-shaders files when checking for changes
  1202. * Fixed issue with properties in fetch mode not loading correctly and making some property names hostage
  1203. * Fixed issue with UVs generation in specific situations where it would create variables with the same name
  1204. v1.8.3 rev 03:
  1205. * Improvements:
  1206. * Global macros sampling option has been removed in favor of another that is set by the shader (older shader load with this option OFF while new ones start with it ON)
  1207. * Made property panel option labels flexible to the width of the panel
  1208. * Some help text added to 'Sampler State' node
  1209. * Fixes:
  1210. * Fixed issue with assembly definition files where nodes outside of the assembly would fail to load
  1211. * Fixed issue of emission channel not working in HDRP decal template
  1212. v1.8.3 rev 02:
  1213. * New 'Sampler State' Node:
  1214. * Allows using the default sampler state of a texture or the creation of a new one with specific options (versions prior to Unity 2018.1 have limited support)
  1215. * Improvements:
  1216. * You can now use custom sampler states when sampling, however, in order for this to work you need to activate the option at Preferences > Amplify Shader Editor > Sampling Macros
  1217. * Activating this may cause some issues in specific situations, namely, custom expressions that do sampling must be converted to use macros as well so for now this option is OFF by default
  1218. * There are two new connection types, one for texture arrays and another for sampler states which are supported in function nodes and custom expression nodes
  1219. * Texture Array node as been deprecated in favor of the regular 'Sampler' node which now supports texture arrays and works inside shader functions
  1220. * 'Parallax Occlusion Mapping' node and 'Triplanar Sample' node now automatically detect if the input is a texture array and no longer use a toggle to turn ON the support
  1221. * Fixes:
  1222. * Fixed issue with URP 2D templates accessing the wrong uv set
  1223. * Fixed Bitangent calculation in SRP which wasn't taking tangent sign into account
  1224. * Fixed issue with 'show and compile' button in shader inspector in unity 2020.1
  1225. v1.8.3 rev 01:
  1226. * Fixes:
  1227. * Fixed issues over 'Substance Sample' node
  1228. * Fixed compilation error on Unity 2018 and above
  1229. * Fixed normal texture port detection on Unity 2018 and above
  1230. v1.8.3 rev 00:
  1231. * New HDRP Sample:
  1232. * Added new 'TV' HDRP sample using Vector Displacement Maps (VDMs)
  1233. * New Shader Option:
  1234. * URP PBR template now has a 'Fragment Normal Space' option that allows selecting between Object, World and Tangent space outputs for the master node
  1235. * Improvements:
  1236. * Added normal space output option for 'Triplanar' node
  1237. * Added help text for the PPS helper tool
  1238. * Fixes:
  1239. * Fixed issue with world view dir calculation in URP PBR template
  1240. * Fixed issue with normal unpacking and scaling in SRP
  1241. * Removed HDRP dependency in ASE asmdef file
  1242. * Fixed the mosaic PPS sample that was conflicting with assembly definition files
  1243. * Fixed issues with focusing the editor window would sometimes select text fields or prevent nodes from being interactive
  1244. * Fixed 'Diffusion Profile' for HDRP 6.X.X
  1245. v1.8.2 rev 01:
  1246. * Fixes:
  1247. * Fixed Fixed issue with auto generated UVs sometimes generate the UVs twice and failing to compile
  1248. v1.8.2 rev 00:
  1249. * Fixes:
  1250. * Fixed 'Rejection' node to support multiple length input types just like 'Projection' node does
  1251. v1.8.1 rev 04:
  1252. * New HDRP Template
  1253. * Decal
  1254. * Improvements:
  1255. * Added new port to 'Voronoi' node that outputs the UVs of the current voronoi cells
  1256. * Added support for MRT for ColorMask, Blend and BlendOp in templates and template Options
  1257. * AlphaToMask is now it's own separate module that can be activated independently and supports inline properties
  1258. * Changed UV creation to support pre-calculated UVs in templates (ie: decals)
  1259. * Fixes:
  1260. * Fixed Texture Array Creator tool in order to properly allow signed and higher bit texture formats
  1261. * Voronoi now properly creates UVs in all situations and preview was updated accordingly
  1262. * Fixed issue with instancing macro not being detected properly and being included in the wrong place occasionally generating errors in URP
  1263. v1.8.1 rev 03:
  1264. * Improvements:
  1265. * Improved URP and HDRP templates in order to minimize their CBUFFER contents
  1266. * Updated libraries for SRP 7.3.1 and 7.4.1
  1267. * Fixes:
  1268. * Fixed issue with instance ID node not working correctly in URP due to templates not properly detecting the existing ones
  1269. * Fixed issue with unused tessellation properties showing up in the shader inspector
  1270. * Fixed issue with 'Reconstruct World Position From Depth' node that was preventing from compiling when used with 'Depth Fade' node
  1271. * Fixed issue with 'Reconstruct World Position From Depth' node that wasn't working correctly in SRP 7.4.X and up
  1272. v1.8.1 rev 02:
  1273. * New Shader Functions:
  1274. * And
  1275. * Or
  1276. * Projection
  1277. * Rejection
  1278. * Improvements:
  1279. * Added more description text to custom expression node
  1280. * Live update doesn't kick in when editing a field
  1281. * Shader Functions options label size resize according to the panel width
  1282. * Fixes:
  1283. * Fixed 'Texture Sample' node and 'Texel Size' node previews so that they update when it's referenced texture changes
  1284. * Fixed issue with certain namespaces not being available when Assembly Definitions files are present
  1285. * Fixed samples by adding new Assembly Definition files for samples that contain their own scripts
  1286. * Fixed issue with sampler states option not working if reference node was not compiled
  1287. v1.8.1 rev 01:
  1288. * Improvements:
  1289. * Added AssemblyDefinition file and made it so nodes can be found in the main editor assembly besides ASE assembly
  1290. * If you which to extend ASE with your own node and you already use your own assembly file you need to add ASE as a dependency
  1291. * Fixes:
  1292. * Fixed issue with function nodes not saving their GUID correctly to the metadata
  1293. * Fixed issue with function switch nodes not saving correctly when inputs were left unconnected
  1294. * Fixed issue with reading options due to system cultural differences
  1295. * Fixed issue where clipboard copy/pasting was not respecting system cultural differences
  1296. v1.8.1 rev 00:
  1297. * New Shader Options:
  1298. * Added new option called 'DOTS Instancing' that provides initial support for hybrid renderer for URP and HDRP
  1299. * Works for both latest V1 and V2 (check unity docs)
  1300. * URP requires shader model 4.5 in order for it to work
  1301. * Some properties nodes now have a new 'Hybrid Instanced' option when set to property mode
  1302. * Improvements:
  1303. * CBuffer properties are now ordered by datatype for performance reasons
  1304. * Fixes:
  1305. * Fixed issue with tessellation in HDRP where tessellation was not measuring the position correctly when relative camera was ON
  1306. * Fixed issue with the new 'Field' option type that wasn't reading float values correctly in all situations due to system cultural differences
  1307. * Fixed typo with the 'Trigonometry Operators' category
  1308. v1.8.0 rev 03:
  1309. * New Shader Options:
  1310. * Added Translucency and Transmission options for URP
  1311. * Options are based on Built-in renderer ports respectively
  1312. * New fields are generated for both but can be manipulated as 'Inline Properties' in property panel
  1313. * New 'Compare' node:
  1314. * Replaces all the now deprecated 'Compare XXX' nodes, this node should be easier to work with since it does ternary operations and allows for any kind of vector comparison
  1315. * Improvements:
  1316. * 'Voronoi' node ID port now returns a vector 2 ID instead of a single float value
  1317. * Fixes:
  1318. * Fixed issue with instanced properties marked as auto register not working inside shader functions
  1319. * Fixed issue with 'Function Switch' node that was causing some nodes to run even if unconnected
  1320. * Fixed issue with 'Decode Lightmap' node that was not compiling correctly in all situations
  1321. * Other small changes and fixes to last revision
  1322. v1.8.0 rev 02:
  1323. * New Shader Options:
  1324. * Added Tessellation options for URP and HDRP
  1325. * Options are based on Built-in renderer options supporting Fixed, Distance-Based, Edge Length and Edge Length With Cull mode, with or without Phong displacement
  1326. * By default Float fields are generated at the bottom of the materials inspector but can be replaced by 'Inline Properties' allowing for further field customization
  1327. * Improvements:
  1328. * Templates API now supports new 'Field' options that create Int or Float fields that can act when values change
  1329. * Templates API now support 'SetMaterialProperty' action that allows a 'Field' to interact with the value in the material inspector
  1330. * Added Q as an alternative panning modifier key (for trackpad users) while Q+Alt zooms (order is important due to Alt being used for other actions)
  1331. * Fixes:
  1332. * Fixed issue with Start Screen icon on MacOS editors
  1333. * Fixed issue with templates not properly detecting floating values
  1334. * Fixed issue with log window and palette window producing layout errors
  1335. * Fixed issue with live editing mode not working properly with shader functions and producing errors
  1336. * Fixed 'Texel Size' node issue where variable declaration was not respecting the SRP batcher and breaking it in the process
  1337. * Fixed issue with auto spacing of shader function titles
  1338. * Fixed/Changed refraction for both URP and Built-in due to issues with webGL version
  1339. v1.8.0 rev 01:
  1340. * Improvements:
  1341. * Now 'Texel Size' and 'Texture Transfom' nodes also contain the 'None' option for consistency
  1342. * Fixes:
  1343. * Fixed issue with start screen window in Unity 5.6
  1344. * Fixed issue with 'Texture Coordinates' node generating multiple texture references in some occasions
  1345. * Fixed 'Texture Coordinates' losing it's selected reference option on port connection
  1346. v1.8.0 rev 00:
  1347. * New Shader Functions:
  1348. * Bacteria
  1349. * Bricks Pattern
  1350. * Dots Pattern
  1351. * Grid
  1352. * Herringbone
  1353. * Hex Lattice
  1354. * Houndstooth
  1355. * Smooth Wave
  1356. * Spiral
  1357. * Stripes
  1358. * Truchet
  1359. * Whirl
  1360. * Zig Zag
  1361. * Improvements:
  1362. * Updated some shader functions to expose their internal data
  1363. * Fixes:
  1364. * Fixed default value for start screen option
  1365. * Fixed context menu showing shader templates not yet imported on first install
  1366. * Fixed drawing issues with slider in 'Float' node in the new Unity UI
  1367. v1.7.9 rev 02:
  1368. * Improvements:
  1369. * Added Refraction option with respective ports to URP that works like the built-in Refraction port
  1370. * Added versioning to templates so that they can track changes and import new versions if necessary
  1371. * Fixes:
  1372. * Fixed issue with start screen showing the wrong change log
  1373. * Fixed issue with start screen not always respecting the selected option
  1374. * Fixed issue with 'Fresnel' node when loading a shader from an older version of ASE
  1375. * Fixed loop detection check for 'Get' node in certain situations
  1376. * Fixed menu listing for templates with duplicated names
  1377. * Fixed 'VertexID' node for HDRP causing errors due to motion vectors
  1378. * Fixed inline properties being broken on certain template internal pass ordering
  1379. v1.7.9 rev 01:
  1380. * Improvements:
  1381. * Start screen option is now a dropdown to allow for more control of how it behaves
  1382. * Added more options to the preference window
  1383. * Option to prevent automatic import of SRP templates
  1384. * Option to force the use of Unity's macros for sampling
  1385. * Option to allow or prevent the use of ASE define symbol
  1386. * Fixes:
  1387. * Included missing files for 'Diffusion Profile' node from last release which prevented the use of the new default inspector option
  1388. * Fixed issue with 'Gradient Sample' node that was not generating the component channel correctly
  1389. v1.7.9 rev 00:
  1390. * New Start Screen:
  1391. * New window that will popup when on a new session starts and/or if a new version is released (can be dismissed)
  1392. * Provides easy start up links for the wiki and contact channels
  1393. * Streamlines the process of importing ASE samples for each rendering pipeline
  1394. * Automatically tracks the release of new versions
  1395. * New Preferences Entry:
  1396. * Currently only controls the start screen settings but in the future it will contain many more options that are currently hidden
  1397. * New Shader Function:
  1398. * Random Range
  1399. * Returns random value between a minimum and maximum range values
  1400. * Improvements:
  1401. * Removed alpha to coverage alpha test check for consistency between pipeline and setups
  1402. * Added check to custom shader inspector and updated missing features like keywords popups and other small changes that came with unity 2019.3
  1403. * Added new option to 'Diffusion Profile' node to be able to create the unity default profile inspector for users that need to share their shaders
  1404. * Changed the color of Int ports to white for proper differentiation between Float and Int
  1405. * Fixes:
  1406. * Depth texture is now uses proper macros even when using global texture samplers to prevent duplication errors
  1407. * Added infinite loop detection to 'Get Local Var' nodes to prevent the case where you can change the 'Get Local Var' node reference to itself
  1408. * Fixed Issue with diffusion profile drawer not being able to change profiles if ASE window wasn't open
  1409. * Fixed issue with outline in surface shaders not respecting the selected precision type
  1410. v1.7.8 rev 02:
  1411. * New Property Attributes:
  1412. * Remap Sliders attribute for Vector2 node that creates a min-max slider in the 0-1 range
  1413. * Single Line Texture attribute for texture properties nodes that minimizes texture object field into single line fields
  1414. * Fixes:
  1415. * Fixed fog color and ambient color node values in HDRP
  1416. * Fixed issue with Fabric and Hair HDRP templates not correctly writing to depth offset in all shader passes
  1417. * Fixed custom expression precision types that didn't respect the selected choice in all cases and added a new Inherit option
  1418. * Fixed possible issue with saving files when path is null
  1419. * Improvements:
  1420. * Improved loading of shaders by preventing unnecessary loads of other types of assets
  1421. * Added warning with fix button to diffusion profile property drawer for when profile isn't present in the profile list
  1422. * Shader functions names now have automatic spacing when searched in the palette
  1423. * Added a direct dependency check for shader function files that allows to search which shaders and shader function are currently directly using it
  1424. * Templates context entry generation is now done by name to prevent random sorting
  1425. v1.7.8 rev 01:
  1426. * New HDRP Templates:
  1427. * Hair
  1428. * Fabric
  1429. * New Shader Function:
  1430. * Inverse Lerp
  1431. * Inverse operation of the 'Lerp' node
  1432. * Improvements:
  1433. * Update HD templates to v.7.1.8 and above
  1434. * Fixes:
  1435. * Fixed issue with 'Component Mask' node preview not correctly showing alpha channel in all situations
  1436. v1.7.8 rev 00:
  1437. * Fixes:
  1438. * Fixed issues with 'Function Switch' node incorrectly displaying reference nodes and not properly ordering when in Reference mode
  1439. v1.7.7 rev 06:
  1440. * Fixes:
  1441. * Fixed 'Parallax Occlusion Mapping' node texture array sampling in LW/URP
  1442. * Fixed issue with 'Light Attenuation' node not taking into account vertex offset in URP templates
  1443. * Improvements:
  1444. * Added extra pre pass option for Lightweight and Universal RP that allows for custom outline passes
  1445. * World position dependent nodes will now take vertex offset into account over LW templates
  1446. v1.7.7 rev 05:
  1447. * Fixes:
  1448. * Fixed issues when reading shader over updated template
  1449. * Fixed 'Light Attenuation' issue on URP 7.2.X which was causing rendering errors
  1450. * Improvements:
  1451. * World position dependent nodes will now take vertex offset into account over default Unlit and URP templates
  1452. * Improved Diffusion Profile support in HDRP 7.2.X
  1453. v1.7.7 rev 04:
  1454. * Fixes:
  1455. * Fixed compatibility issues with HDRP v7.2.0 and above
  1456. * Fixed issue with 'Indirect Diffuse Light' node on Normal port not properly working over Lightweight RP
  1457. v1.7.7 rev 03:
  1458. * Fixes:
  1459. * Fixed issue on Unity ignoring Emission channel values set over Debug Port
  1460. * Fixed issue with multiple uses of 'Voronoi' node over a graph
  1461. * Fixed helper window colors in personal skin
  1462. * Fixed emission contribution on baked lighting
  1463. * Fixed GUID conflicts between Lightweight and Universal samples
  1464. v1.7.7 rev 02:
  1465. * Fixes:
  1466. * Fixed incorrect values given by time related nodes
  1467. * Fixed shadow compilation issue on HD Lit template
  1468. * Added null checks on updating shader over master node to prevent saving issues
  1469. * Improvements:
  1470. * Decode Directional Lightmap shader function now compatible with all pipelines
  1471. * Added events that can be registered externally which indicate shader type change and shader save (API)
  1472. * IOUtils.OnShaderSavedEvent called when shader is saved
  1473. * IOUtils.OnShaderTypeChangedEvent called when shader
  1474. * Registered functions must receive three arguments
  1475. * Shader shader: Current shader being modified
  1476. * bool isTemplate: Current shader type is template based
  1477. * string type: GUID of template in use or string.empty if Standard Surface
  1478. v1.7.7 rev 01:
  1479. * Improvements:
  1480. * Some adjustments were made to the Decode Lightmap's Instructions port
  1481. * Port is set be only visible when on SRP
  1482. * ASE automatically sets Unity's default instruction values if no value is connected to it
  1483. v1.7.7 rev 00:
  1484. * Fixes:
  1485. * Fixed multiple connections on Wire node when Alt + dragging nodes from it
  1486. * Fixed issue with normal map usage over URP PBR
  1487. * Improvements:
  1488. * Added new previews:
  1489. * Heightmap Texture Blend
  1490. * Parallax Offset
  1491. * Clip Planes
  1492. * Fog and Ambient Colors
  1493. * Fog Params
  1494. * Instance ID
  1495. * Object To Clip
  1496. * Object To View
  1497. * Shade Vertex Lights
  1498. v1.7.6 rev 02:
  1499. * Fixes:
  1500. * Assured latest fix for time related nodes over SRP is only applied on latest versions
  1501. * Fixed issue on declaring variables inside CBuffer that are already on native template
  1502. v1.7.6 rev 01:
  1503. * Fixes:
  1504. * Fixed usage of legacy variables over SRP on time related nodes
  1505. * Time
  1506. * Time Parameters
  1507. * Sin Time
  1508. * Cos Time
  1509. * Fixed issue on HD Unlit Vertex Offset input code not being set on all passes
  1510. v1.7.6 rev 00:
  1511. * New Shader Function:
  1512. * SRP Additional Light
  1513. * Returns SRP's additional lights information calculated with a selected lighting mode
  1514. * Improvements:
  1515. * 'Light Attenuation' node on Lightweight/Universal now outputs only the attenuation of the main light
  1516. * Before it outputted the sum of all light attenuations which didn't have a practical use
  1517. v1.7.5 rev 03:
  1518. * New Templates:
  1519. * Universal Experimental 2D Lit
  1520. * Universal Experimental 2D Unlit
  1521. * Fixes:
  1522. * Fixed issue on incorrectly setting a wrong instanced block name on non-main passes when using GPU Instancing over templates
  1523. * Added Safe Power option into both 'Power' and 'Fresnel' nodes
  1524. * Ensures base for power operation is always greater than zero to prevent NaN over the result
  1525. * Fixed 'Indirect Diffuse Light' and 'Indirect Specular Light' nodes preview when Normal Space option is set to World
  1526. * Fixed 'Fresnel' node preview as it wasn't showing the correct result when scale was different than 1
  1527. * Fixed Alpha Clip issue across multiple Unlit Lightweight and Universal template versions
  1528. * Improvements:
  1529. * Improved mouse focus behavior when ASE is not focused
  1530. * Migrated Lightweight samples into Universal RP
  1531. v1.7.5 rev 02:
  1532. * Fixes:
  1533. * Fixed issue with incorrect _ST variable declaration on templates over 'Texture Array' node
  1534. * Fixed issue on 'Grab Screen Color' node creating a default Grab Pass when using the default grab name with Custom Grab Pass activated
  1535. * Fixed issue on 'Texture Transform' node giving incorrect values on certain connections
  1536. * Fixed node preview update for missing shader functions
  1537. * Fixed issue on 'Static Switch' node using in-existent keyword indices
  1538. * Fixed 'Static Switch' reordering issues when in Reference mode
  1539. * Improvements:
  1540. * Added missing previews to nodes
  1541. * Ortho Param
  1542. * Projection Param
  1543. * Screen Param
  1544. * ZBuffer Param
  1545. * Clip
  1546. * Compute Screen Pos
  1547. * Texel Size
  1548. * Texture Transform
  1549. * Tweaked 'Texture Object' and 'Texture Sampler' node previews to avoid recent for AMD crashes
  1550. v1.7.5 rev 01:
  1551. * Fixes:
  1552. * Fixed 'Color Space Double' node issue in SRP
  1553. * Fixed 'Texture Array' node ordering issue in the material inspector when on Reference mode
  1554. * Fixed issue with references lost over 'Texture Sample' on shader functions
  1555. * Small fixes and optimizations to the URP unlit template
  1556. * Fixed texture fields not being modifiable on 'Texture Sample' nodes when ASE window was not focused
  1557. * Improvements:
  1558. * Updated 'Flow' shader function to make Strength a Vector2 input
  1559. * Improved registered local variables usage on templates
  1560. * Removed hard-code directives declaration on LWRP and added them as Port options on templates
  1561. v1.7.5 rev 00:
  1562. * New Nodes:
  1563. * Inverse Projection Matrix
  1564. * Inverse View Projection Matrix
  1565. * New Shader Functions:
  1566. * Noise Sine Wave
  1567. * Creates a sine wave from a given input with an added pseudo-random value
  1568. * Sawtooth Wave
  1569. * Creates a saw-tooth wave from a given input
  1570. * Square Wave
  1571. * Creates a square wave from a given input
  1572. * Triangle Wave
  1573. * Creates a triangle wave from a given input
  1574. * Checkerboard
  1575. * Created a checkerboard pattern with given colors where Frequency controls its tiling
  1576. * Ellipse
  1577. * Creates an ellipse based on given uv and dimensions
  1578. * Polygon
  1579. * Creates a polygon shape with a specified amount of sides
  1580. * Rectangle
  1581. * Creates a rectangle shape with a specified size
  1582. * Rounded Rectangle
  1583. * Creates a round rectangle shape from a given size and radius
  1584. * Improvements:
  1585. * Added new Smooth toggle option to 'Voronoi' node
  1586. * Only available under the Cells Method
  1587. * Improved selection box inside the editor graph to match Unity's and not be version dependent
  1588. * Ported terrain sample to Universal Rendering Pipeline
  1589. * Packed inside Examples > Universal SRP Samples.unitypackage
  1590. * Fixes:
  1591. * Fixed multiple issues regarding using instanced properties over 'Outline' node
  1592. * Fixed hard-crash when modifying pass amount over template (API)
  1593. * Fixed Native Directives display over Templates in Unity 2019.3
  1594. * Fixed GPU instancing on Particles Alpha Blended template
  1595. * Removed Clip from From option over 'Transform Position' and 'Transform Direction' nodes
  1596. * Transform matrix was incorrect and there's no viable replacement over those nodes context
  1597. v1.7.4 rev 02:
  1598. * New Shader Functions:
  1599. * Flow
  1600. * Creates a flow effect which can be given from a flow map.
  1601. * Twirl
  1602. * Sets a twirl effect to a given input UV. Created by The C.reator @cayou66
  1603. * Normal From Height
  1604. * Extrapolate a normal vector from an height value
  1605. * New Sample:
  1606. * Scale Independent Tile
  1607. * Improvements:
  1608. * Added new Rotation Independent Scale option into 'Object Scale' node
  1609. * Tweaked 'Remainder' node to always use the % operator on Unity 2018.1 and above
  1610. * Fixes:
  1611. * Fixed issue on loading multipass multi visible master nodes losing their names
  1612. * Fixed issue with point lights not working with instanced terrain shaders
  1613. * Fixed issue on terrain getting black when drawn instanced
  1614. * Fixed alpha test issues over deprecated HDRP Lit
  1615. * Fixed issue where not setting pass name on port options lead to incorrect option behavior (API)
  1616. * Fixed previews not updating correctly in shader functions
  1617. v1.7.4 rev 01:
  1618. * New Template:
  1619. * Unlit for HD SRPv6.x.x
  1620. * New Node:
  1621. * Luminance
  1622. * Fixes:
  1623. * Fixed alpha-clip issues with legacy HD templates
  1624. * Fixed issue on incorrectly initializing custom type variables on 'Custom Expression' node
  1625. * Fixed nodes preview getting lost on loading scenes
  1626. * Fixed preview issue on 'Noise Generator' node
  1627. * Fixed preview issue on 'Panner' node
  1628. * Fixed preview issue on 'Rotator' node
  1629. * Fixed issue on ignored Passes over SubShader options appearing on both shader reload hot code reload
  1630. * Fixed issue with 'Parallax Occlusion Mapping' node when used on shader functions
  1631. * Fixed issue with setting directly the property name over its textfield wouldn't trigger the duplicates prevention system
  1632. * Improvements:
  1633. * Updated 6.9.2 Lightweight templates to includes the same options as URP templates
  1634. v1.7.4 rev 00:
  1635. * Fixes:
  1636. * Fixed critical error where users could not create a surface shader if no ASE window was opened
  1637. v1.7.3 rev 00:
  1638. * Fixes:
  1639. * Fixed preview issues on multiple nodes
  1640. * Fixed incorrect template reload when multiple shaders using the same template are opened
  1641. * Fixed Ignore Rotation issues on 'Billboard' node over Lightweight RP
  1642. * Fixed issue on not importing latest SRP templates when an unregistered version is detected
  1643. * HDRP templates no longer throw console errors on Unity 2019.3
  1644. * Fixed Alpha Clip issue on deprecated HDRPLit template
  1645. * Fixed issue on incorrectly resetting port internal data on load with matrices types
  1646. * Improvement:
  1647. * Minor renaming on 'Baked GI' node name to 'SRP Baked GI'
  1648. * Updated URP templates to include a Baked GI port similarly to HDRP
  1649. v1.7.2 rev 03:
  1650. * Fixes:
  1651. * Fixed issue on templates not capturing properties with certain attributes
  1652. * Fixed issue on templates inline properties not being properly set on modules if main master node wasn't the first pass
  1653. * Improvements:
  1654. * Added Builtin Fog toggle option into Lightweight PBR template
  1655. v1.7.2 rev 02:
  1656. * Fixes:
  1657. * Fixed issue on 'Toggle Switch' node
  1658. * Fixed abnormal behavior when reading template with more interpolators than the ones allowed by its Shader Model (API)
  1659. * Improvements:
  1660. * Template can now read Shader Model from area outside SubShader (API)
  1661. v1.7.2 rev 01:
  1662. * Fixes:
  1663. * Fixed issues on generating incorrect precision inputs on both 'Screen Position' and 'World Position' node
  1664. * Fixed issue on multi-pass master nodes not setting correct given shader name when created from file
  1665. * Fixed issue on WaterSample shader
  1666. * Fixed issue on 'Custom Expression' node not generating correct function code without a return statement
  1667. * Improvements:
  1668. * Users can, like on Shader Functions, immediately name shader when creating it
  1669. * Adding Instanced option into 'Texture Transform' node
  1670. * Determines if the _ST texture transform variable is created as an instanced property
  1671. v1.7.2 rev 00:
  1672. * Improvements:
  1673. * 'Toggle Switch' node now uses a ternary operator to prevent incorrect results on NaN inputs
  1674. v1.7.1 rev 13:
  1675. * Fixes:
  1676. * Fixed issue duplicating certain nodes
  1677. v1.7.1 rev 12:
  1678. * Fixes:
  1679. * Fixed issue when using more than one Octave on 'Voronoi' node
  1680. * Fixed issue on Motion Vectors pass over HD templates
  1681. * Fixed issue on generating incorrect keyword value on 'Static Switch' node using Reference Mode
  1682. v1.7.1 rev 11:
  1683. * Fixes:
  1684. * Fixed issue on registering/unregistering internal template generated nodes over the reorder node event
  1685. * Fixed multiple issues on 'Custom Expression' node
  1686. * Fixed issue on using 'Voronoi' node over shader functions
  1687. v1.7.1 rev 09/10:
  1688. * New Node:
  1689. * HD Emission
  1690. * Fixes:
  1691. * Fixed issue when reading shader with missing shader function
  1692. * Fixed issue when duplicating property nodes on Fetch mode would reset property name
  1693. * Fixed issue on 'Parallax Occlusion Mapping' node incorrectly generating instanced _ST vars outside the CBuffer
  1694. * Fixed alpha cutoff issues on HD Lit templates v5.7.2 and v5.16.1
  1695. * Fixed issue on not declaring both BakedGI and BakedBackGI on Lit template
  1696. * Fixed issue on not setting some ports with graph data over templates
  1697. * Improvements:
  1698. * Listing on nodes is now alphabetically ordered
  1699. * Get Local Var
  1700. * Grab Screen Color
  1701. * Static Switch
  1702. * Texture Array
  1703. * Texture Sample
  1704. * Node search bar text now takes property name and inspector name into account
  1705. v1.7.1 rev 08:
  1706. * Fixes:
  1707. * Fixed issue on 'Register Local Var' not allowing to reset name to loaded one
  1708. * Fixed Console Log issues with Personal Skin
  1709. * Fixed issue on overwriting Render Type custom values over a template(API)
  1710. * Fixed issue on local variables generation over the 'Unpack Scale Normal' node
  1711. * Fixed issue with setting special tags over template options (API)
  1712. * Improvements:
  1713. * Added more flexibility to 'Static Switch' node
  1714. * Can have empty property names when Material Toggle is toggled off
  1715. * It no longer modifies keywords ( setting to upper, adding _ON, etc ) if Material Toggle is toggled off
  1716. * Tweaked visible options when on Fetch mode
  1717. * Added hot-fix to 2019.2 Lit template in order to generate shaders without errors when used on HDRP v7.x.x
  1718. v1.7.1 rev 07:
  1719. * New Shader Functions:
  1720. * Derive Tangent Basis
  1721. * Height-based Blending
  1722. * Improvements:
  1723. * Clicking on node specific messages over ASE log now jumps to which node generated it
  1724. * Changing ports types to matrix now sets the identity matrix into its internal data
  1725. * Relevant on nodes like 'Custom Expression'
  1726. * Fixes:
  1727. * Fixed issue on incorrectly adding 0 to W channel when creating position vectors
  1728. * Fixed issue on not auto-importing templates correctly over Unity 2019
  1729. * Fixed multiple issues regarding shader function previews
  1730. * Fixed compilation issue when using unreferenced 'Get Local Var' nodes
  1731. * Fixed issue on changing 'Static Switch' name not being reflected on referenced list
  1732. * Fixed issues with 'Texture Coordinates' and 'Texture Sampler' nodes with 'Relay' or 'Wire' nodes on Tex port
  1733. v1.7.1 rev 06:
  1734. * Fixes:
  1735. * Fixed new and old shader templates for HDRP 6.9.X so the diffusion profile value is passed around correctly
  1736. * Fixed issue on 'Texture Coordinates' node not correctly swizzling data on template vertex functions
  1737. * Prevented Additional Directives reference lost when saving certain shader functions
  1738. v1.7.1 rev 05:
  1739. * Fixes:
  1740. * Fixed issue on getting incorrect inline properties on templates
  1741. v1.7.1 rev 04:
  1742. * Fixes:
  1743. * Fixed 'Diffusion Profile' node issues on SRP v6.9.X
  1744. * Fixed multiple issues regarding shader functions Additional Directives usage
  1745. v1.7.1 rev 02/03:
  1746. * Fixes:
  1747. * Fixed issue both on creating duplicate texture ST constants and being declared out of the cbuffer
  1748. * Fixed possible issues on 'Texture Transform' node over SRP
  1749. * Fixed baked lighmap issues over Lightweight/Universal PBR templates
  1750. * Fixed SimpleTerrain sample water shader which was broken due to recent 'Screen Depth' node changes
  1751. * Fixed compilation errors on 'Voronoi' node
  1752. * Fixed issue on registering duplicate instanced variables which are already on template as non-instanced
  1753. v1.7.1 rev 01:
  1754. * Fixes:
  1755. * Removed unused variable warning
  1756. * Broadened up Shader Function versions to apply serialized fix on Origin field
  1757. v1.7.1 rev 00:
  1758. * Fixes:
  1759. * Fixed issue with Face related nodes not working in HDRP v6.9.0 due to bad version handling
  1760. * Fixed retro-compatibility issue with incorrectly reading Shader Function Custom Directives as Native
  1761. * Improvements:
  1762. * Tweaked 'Get Local Var' node message thrown when no Reference is selected
  1763. * Natives UI listing is now locked on Unity 2019.3 to prevent incorrect behaviors on new UI system
  1764. v1.7.0 rev 09:
  1765. * Improvements:
  1766. * Changing Variable Mode from Fetch to Create no longer rewrites property name on Property Nodes
  1767. * Improved property renaming when duplicating Property nodes
  1768. * Added property name to items on Material Properties list
  1769. * Can be clicked to focus on specified node
  1770. v1.7.0 rev 08:
  1771. * Fixes:
  1772. * Fixed issue on HD Lit Diffusion Profile port being incorrectly set as type Int
  1773. * Multi Pass Master Nodes no longer reads/writes input port meta data as this must always be given by template
  1774. v1.7.0 rev 07:
  1775. * Fixes:
  1776. * Fixed issue with the 'Diffusion Profile' node not updating from and to the material inspector
  1777. * Improvements:
  1778. * Added new internal console inside shader canvas to more easily check ASE related messages
  1779. v1.7.0 rev 06:
  1780. * New Shader Function:
  1781. * Non Stereo Screen Pos
  1782. * Converts a VR screen position into a non-VR one
  1783. * Fixes:
  1784. * Fixed issue with both 'Gradient' and 'Gradient Sample' nodes on Lightweight/Universal
  1785. * Fixed 'Voronoi' node issue over templates
  1786. * 'Reconstruct World Position From Depth' now correctly works on VR
  1787. * Improvements
  1788. * Tweaked Lightweight and Universal templates
  1789. * Pragma tag now after native includes
  1790. * Removed unused _MainTex_ST variable from Meta pass
  1791. * Shader Properties can now be fully rewritten through template options(API)
  1792. * Added Vulkan to Standard Surface Rendering Platforms
  1793. v1.7.0 rev 05:
  1794. * New Templates:
  1795. * Added templates for Universal Rendering Pipeline
  1796. * Packed inside AmplifyShaderEditor\Plugins\EditorResources\Templates\USRPTemplates.unitypackage
  1797. * Fixes:
  1798. * Fixed multiple issues with Lit HDRP template
  1799. * Fixed issue on not taking the 'Int' node as SRP compatible
  1800. * Fixed both 'Transform Direction' and 'Transform Position' nodes issues regarding Tangent space
  1801. * Fixed multiple issues regarding template options
  1802. * Fixed issue on incorrect reading over Depth Offset values from shader
  1803. * Minor fix on templates post-processor to prevent null pointer exceptions
  1804. * Improvements:
  1805. * Unity global variables used as inline properties on templates are now registered so they can be correctly maintained over the final shaders
  1806. * Added LOD Cross Fade into Lightweight RP templates
  1807. * Added Inherit type into precision popup and made sure most nodes can now compile with the proper precision type
  1808. * Some nodes have a specific precision on purpose
  1809. * Improved 'Diffusion Profile' node behavior
  1810. * Added material property attribute
  1811. * Updated source code able to create profile properties in HDRP 7.X
  1812. v1.7.0 rev 04:
  1813. * Improvements:
  1814. * When switching between shader type the connections with the same port name are kept intact
  1815. * Custom inspector for SRP 7.X is now detected automatically and upgraded from previous versions
  1816. * Templates master nodes now display the shader name in their title for better consistency
  1817. * Fixes:
  1818. * Fixed issue in SRP 7.X where certain auto defines were overriding the selected options
  1819. * Fixed issue in templates system where in certain situations defines would be set forever
  1820. * Fixed stencil options in HDRP 7.X
  1821. * Thickness port in HDRP 7.X is now always visible
  1822. * Some properties in HDRP 7.X are now override-able
  1823. v1.7.0 rev 03:
  1824. * Improvements:
  1825. * Added support for pragma options to the template system
  1826. * Fixes:
  1827. * Fixed issue where dependent template options would be visible when it's dependency was off in some situations
  1828. * Fixed issue with wrong connection types on creation of new nodes when dragging from ports
  1829. * Fixed issue with detecting LOD parameter in templates
  1830. v1.7.0 rev 02:
  1831. * Fixes:
  1832. * Fixed issue when selecting a shader that contains errors in 2019.3 would generate inspector errors
  1833. v1.7.0 rev 01:
  1834. * Fixes:
  1835. * Fixed issue on incorrect initial node setup from previously saved options
  1836. v1.7.0 rev 00:
  1837. * New Node:
  1838. * Voronoi
  1839. * Fixes:
  1840. * Fixed issue on all templates not being available to choose over the Creates > Amplify Shader menu
  1841. * Fixed issue on Unlit absolute mode
  1842. * Fixed issue on both Lightweight templates absolute mode
  1843. * Fixed issue on 'World Space View Dir' node preview
  1844. * Fixed blinking window when 'Add'or 'Mul' nodes are dynamically changing their input ports
  1845. * Fixed issue with detection loop function that was causing massive slow downs on node connection on big graphs
  1846. * Fixed multiple issues with new Lit template
  1847. * 'Face' and 'Switch By Face' now correctly work on the latest HDRP version
  1848. * Fixed multiple issue on latest HD Lit template
  1849. * Fixed issue when selecting shaders on Unity 2019.3
  1850. * Fixed incorrect local variable generation on multiple nodes over Standard Surface's Vertex ports
  1851. * Improvements:
  1852. * Improved editor performance by only refreshing when needed and only updating previews that are necessary to update
  1853. * Texture array auto sorting on texture drop over Texture Array tool
  1854. * Directives can now be written both before or after (via mouse drag ) to native directives detected on template
  1855. * Added dropdown for custom editor in templates that contain the HD material inspector
  1856. * 'Depth Fade' and 'Screen Depth' can now be used on vertex shader
  1857. * Improved and optimized node search on context menu
  1858. * Node developers can now associate tags to their nodes
  1859. * Small improvement to shader function properties order when multiple shader functions are inside each other
  1860. * Improved 'Noise Generator' node
  1861. * Added new Gradient type
  1862. * Added new option to auto set noise generator values to a 0-1 range
  1863. * Added new scale input port to scale its Size input
  1864. * Extended Port options versatility when declared on SubShader (API)
  1865. * Shader Properties default values can now be set through the SetShaderProperty action (API)
  1866. * Refactored templates paths
  1867. * Deprecated:
  1868. * Disabled ASE custom texture array inspector on Unity 2019 and above
  1869. * Marked old templates as deprecated
  1870. * These will be eliminated from the package on a future build
  1871. v1.6.9 rev 02:
  1872. * New Template:
  1873. * Re-designed a new HD Lit template for SRP v6 and above
  1874. * Compatible with Unity's default HD material inspector
  1875. * Fixes:
  1876. * Fixed division by zero issues on 'Blend Operations' node
  1877. * Fixed VR stereo issue in Standard Surface custom shadow caster
  1878. * Fixed issue with reorderable properties in shader function being stuck when two or more of the same SF was used inside another one
  1879. * Fixed incorrect variable naming on certain operations over both 'Transform Position' and 'Transform Direction' nodes
  1880. * Fixed issue on Input Port internal wrapper creating float3x3 with float4x4 contents
  1881. * Minor tab fixing on Unlit template
  1882. * Fixed issue on HD templates Auto-Importer
  1883. * Fixed issue on not always capturing the template custom inspector correctly
  1884. * Fixed compatibility issue with 'Diffusion Profile' node on Unity 2019.3
  1885. * Improvements:
  1886. * Added tag system to node search and improved how nodes are searched
  1887. * Now words don't have to be in the same order of the name to match
  1888. * Reactivated SRP Batcher compatibility
  1889. * Each UnityPerMaterial Cbuffer set in pass now contains all declared property variables
  1890. v1.6.9 rev 01:
  1891. * Improvements:
  1892. * Added support for HDRP v6xx over Unity 2019.2
  1893. * HDRP v5xx now set as legacy and moved into the SRP (Legacy) folder
  1894. * LWRP templates remain the same between v5 and v6
  1895. * 'Swizzle' node is now non-destructive when connecting data with less info than selected options
  1896. v1.6.9 rev 00:
  1897. * Fixes:
  1898. * Fixed 'Component Mask' node preview
  1899. v1.6.8 rev 07:
  1900. * New Nodes:
  1901. * Gradient
  1902. * Gradient Sample
  1903. * Fixes:
  1904. * Fixed nodes incorrectly moving when interacting with popup fields in recent Unity versions
  1905. * Fixed issue on incorrect size for vertex normal data on LWRP Unlit template
  1906. * Improvements:
  1907. * Added Built-in Fog option to LWRP Unlit template
  1908. v1.6.8 rev 06:
  1909. * Fixes:
  1910. * Fixed issue on incorrectly selecting Shader Name textfield when opening an ASE shader
  1911. * Fixed issues on incorrect uv coordinates size over 'Grab Screen Color' node
  1912. * Fixed GPU instancing and vertex offset issues on all HDRP templates
  1913. * Fixed parse issues when capturing structs inside templates (API)
  1914. * Temporarily disabled SRP Batcher as it was not properly working
  1915. v1.6.8 rev 05:
  1916. * Fixes:
  1917. * 'Grab Screen Color' now prevents Unity macro inconsistent behavior between Unity versions
  1918. v1.6.8 rev 04:
  1919. * Fixes:
  1920. * Fixed issues regarding Diffusion Profile usage on HDRP
  1921. v1.6.8 rev 03:
  1922. * Fixes:
  1923. * 'Grab Screen Color' now prevents Unity macro inconsistent declaration ending between VR and non-VR compilation
  1924. * Preventing compilation errors related to GPU Instancing on SRP
  1925. v1.6.8 rev 02:
  1926. * Fixes:
  1927. * Added missing stereo config on LW Unlit template
  1928. * Fixed Blend Mode config on HD Lit template when choosing Opaque mode
  1929. v1.6.8 rev 01:
  1930. * Fixes:
  1931. * Fixed compilation issue with 'Grab Screen Color' node on VR
  1932. * Fixed issue on Shadow Caster pass over HD Lit template v5.16.1
  1933. * 'Grab Screen Color' node now takes VR into account on LWRP
  1934. * Improvements:
  1935. * Share links now have permanent lifetime
  1936. * Added new Depth Offset option into HD Lit template v5.16.1
  1937. v1.6.8 rev 00:
  1938. * New features:
  1939. * Added Share button that uploads select data to the cloud for easy sharing
  1940. * Added Screenshot button that takes a screenshot of the whole graph and saves it to disk
  1941. * For now this is a Windows only feature
  1942. * Fixes:
  1943. * Fixed issue on 'Toggle Switch' node registering a toggle drawer twice causing inspector warnings
  1944. * Fixed issue on not always capturing the Fallback library on templates
  1945. * Fixed both 'HSV to RBG' and 'RGB to HSV' node previews
  1946. * Fixed issue on sometimes losing directives info on Shader Functions after being moved into a different path
  1947. * Fixed issue on Shader Function being incorrectly loaded into a separate tab after being moved into a different path
  1948. * Fixed issue on certain Pass Options only being applied to main pass Master Node
  1949. * Improvements:
  1950. * ASE now auto-imports SRP templates if they are installed via Package Manager
  1951. * It will also import correct templates in case of user switches between versions
  1952. * User still need to open the shaders and hit the Update button so they are compiled on the correct version
  1953. * Improved canvas buttons to better represent their purpose
  1954. * Improved PPS Template under Single Pass VR
  1955. * Mosaic Effect PPS sample now fully works across VR
  1956. * Set Port Name action can now be registered on Port options block(API)
  1957. v1.6.7 rev 06:
  1958. * Fixes:
  1959. * Fixed multiple issues on 'Custom Expression' node
  1960. * Fixed layout issue when writing input names
  1961. * Fixed issue on updating InOut/Out ports when reordering inputs
  1962. * Fixed custom loading issue on void Output or Call mode when no inputs are declared
  1963. * Fixed issue where user could set main output type as OBJECT type
  1964. * Fixed incorrect text replacement on Call mode code
  1965. * Fixed Custom Types not being correctly declared
  1966. * Fixed compilation issues both on HD Lit and PBR when WRITE_MSAA_DEPTH directive is used
  1967. * Possible fix on VR issue with Lightweight RP
  1968. * Possible fix on issue with Unlit template when using Single Pass Stereo VR
  1969. * Possible fix on issue with 'Grab Screen Color' node when using Single Pass Stereo VR
  1970. * Improvements:
  1971. * Added Variable Mode to 'Grab Screen Color' node
  1972. * Added new Alpha port on 'Blend Operations' node to enable a more layered like behavior
  1973. * Added support to SRP 5.16.1
  1974. v1.6.7 rev 05:
  1975. * Fixes:
  1976. * Fixed issue with alpha cutoff on both HD Lit 5.7.2 and 5.13 templates
  1977. * Improvements:
  1978. * Added new template option functionality to copy properties from sub shader module (API)
  1979. v1.6.7 rev 04:
  1980. * Fixes:
  1981. * Fixed issue on not taking variables declared on template into account when registering instanced variables
  1982. v1.6.7 rev 03:
  1983. * Fixes:
  1984. * Fixed issue on 'Static Switch' node when setting default value on Enum type
  1985. * Fixed issue on 'Triplanar Sampler' node incorrectly activating mid and bottom index ports
  1986. * Fixed normal map unpacking issues with Lightweight RP over mobile
  1987. * Improvements:
  1988. * Adding INTERNALTESSPOS into template semantics to prevent user issues
  1989. v1.6.7 rev 02:
  1990. * Fixes:
  1991. * Fixed exposure issue on both diffuse and specular components over HDRP templates
  1992. * New Templates:
  1993. * Adding specific templates for legacy HDRP v5.7.2
  1994. v1.6.7 rev 01:
  1995. * Fixes:
  1996. * Changed how depth fetch is done to prevent issues on single pass vr
  1997. * Tweaked 'World Position' node preview shader to prevent issues over PS4
  1998. * Fixed issue on 'World to Object' node when used on templates
  1999. * Fixed 'Custom Expression' node issue with Auto-Register on shader functions
  2000. * Improvements:
  2001. * Post-Processing Tool now works under a InvariantCulture to be region independent
  2002. * 'Static Switch' node now supports both shader_feature_local and multi_compile_local
  2003. * Only available on Unity 2019.1 and above
  2004. * Activate the Is Local toggle over the node properties
  2005. v1.6.7 rev 00:
  2006. * New Sample:
  2007. * Volumetric Pixelize by Raphael Ernaelsten
  2008. * New Nodes:
  2009. * Diffusion Profile
  2010. * Packed inside HDSRPTemplates.unitypackage
  2011. * To be used on Unity 2019 with HDRP 5.13
  2012. * Baked GI
  2013. * Improvements:
  2014. * 'Grab Screen Color' node now works on both HDRP 4.x.x and 5.x.x
  2015. * Added new Is Variable toggle on 'Custom Expression' node
  2016. * Fixes:
  2017. * Fixed possible null pointer access when losing focus on a ASE window
  2018. * 'Texture Sample' and 'Texture Coordinates' nodes no longer breaks GPU Instancing/SRP Batcher
  2019. v1.6.6 rev 00:
  2020. * Improvements:
  2021. * Added support for both Lightweight and HD SRP v5.13.0 on Unity 2019
  2022. * Templates for SRP v4.x.x on Unity 2018.3 are still accessible through packages
  2023. * HDSRPTemplates 4xx (Legacy)
  2024. * LWSRPTemplates 4xx (Legacy)
  2025. * Updated 'Triplanar Sample' node to include a new position port
  2026. * Also updated TriplanarProjection sample to include this node usage
  2027. * Fixes:
  2028. * Fixed issue with using vertex tangent data over SRP templates
  2029. v1.6.5 rev 00:
  2030. * Fixes:
  2031. * Fixed issue on interpolator usage on template based shaders when current shader model max amount is reached
  2032. v1.6.4 rev 03:
  2033. * Improvements:
  2034. * Improved Post-Processing Tool behavior
  2035. * Removed dependencies on Unity's Post-Processing Stack libs to prevent compilation issues
  2036. * Added new 'Allow In Scene View' option
  2037. v1.6.4 rev 02:
  2038. * Fixes:
  2039. * Added missing ase_pragma tag over PPS template
  2040. v1.6.4 rev 01:
  2041. * Fixes:
  2042. * Fixed issue with using 'Indirect Diffuse Light' node with Lightweight PBR template
  2043. v1.6.4 rev 00:
  2044. * Fixes:
  2045. * 'Indirect Diffuse Light' node now works on the HD SRP templates
  2046. * Fixed memory leak on closing ASE windows
  2047. * Fixed port define issue with linked ports over template options (API)
  2048. * Fixed loading issue on 'Reconstruct World Position From Depth' shader function
  2049. v1.6.3 rev 09:
  2050. * Fixes:
  2051. * Added missing ase_frag_input tag on Lightweight Unlit SRP template
  2052. * Fixed compiler issues when using 'Face' and 'Switch by Face' nodes on Vertex Ports
  2053. * Improvements:
  2054. * Minor tweak on Simple GPU Instancing sample for GPU Instancing behavior to be more evident
  2055. v1.6.3 rev 08:
  2056. * Improvements:
  2057. * Standard Surface custom ASE shadow caster can now be turned off
  2058. * Toggle on new 'Use Default Shadowcaster' option over Rendering Options group
  2059. * Fixes:
  2060. * Nodes 'Face' and 'Switch by Face' now properly work over the HD Unlit template
  2061. * Fixed issue on missing ase_frag_input tags over HD Unlit
  2062. * Template Port Options can now be properly registered over SubShader (API)
  2063. v1.6.3 rev 07:
  2064. * Fixes:
  2065. * Removed unnecessary code being used when on Custom Lighting
  2066. * Fixed 'Light Color' node not being correctly reset when on subtractive lightmaps
  2067. * Removed gi.light.color usage from Blinn Phong Light shader function as it was a temporary fix for the above
  2068. v1.6.3 rev 06:
  2069. * Fixes:
  2070. * Fixed issues on 'Light Attenuation' node over Lightweight SRP
  2071. * Removed incorrect N.L contribution
  2072. * Fixed issue on duplicate variables when using multiple nodes
  2073. v1.6.3 rev 05:
  2074. * New Sample:
  2075. * SRP HD Omni Decal
  2076. * Fixes:
  2077. * 'Indirect Diffuse Light', 'Indirect Specular Light' and 'Light Attenuation' now works on Lightweight SRP
  2078. * Fixed issue on 'Screen Position' node previewer when on Screen Mode
  2079. * Fixed 'Screen Depth' node issue over Particle Alpha Blended template
  2080. * Improvements:
  2081. * 'Static Switch' nodes now have a Reference mode
  2082. * Can use other nodes as reference, similar to 'Texture Sample' node
  2083. * Minor cleanup on 'Reconstruct World Position From Depth' shader function
  2084. * Can set shader functions as hidden so it wont show on context menu
  2085. * Activate Hidden toggle over shader function General options
  2086. v1.6.3 rev 04:
  2087. * Fixes:
  2088. * Minor fix on Screen Space Detail sample
  2089. * Fixed issue on instanced surface terrains not being able to be picked/selected
  2090. * Fixed issue with lightmaps and instanced standard surface terrains
  2091. * Fixed issue with 'Four Splats First Pass Terrain' shader function on default templates
  2092. * Fixed issue with duplicate local variables on 'Texture Coordinates'
  2093. * Fixed issue on duplicate ST variable when using Particle Texture Parameter over Particles template
  2094. * Improvements:
  2095. * 'Switch By Pipeline' node now takes default template and surface into account
  2096. * UsePasses can be directly registered by nodes on data collector(API)
  2097. * ASE Custom Shader Inspector now also shows SRP Batcher compatibility status
  2098. v1.6.3 rev 03:
  2099. * Fixes:
  2100. * Fixed issues with Custom Lighting on Subtractive Lighting Mode
  2101. * Fixed issue on Diffusion Profile Id not being correctly written when Transmission is activated on HD Lit template
  2102. v1.6.3 rev 02:
  2103. * Fixes:
  2104. * Fixed issue with Mosaic Effect PPS sample not opening correctly on Unity 2018.1 and 2018.2
  2105. * Fixed issue on Multi Pass Distortion sample not taking skybox into account
  2106. * Improvements:
  2107. * User can now specify sub-shader tags
  2108. * Moved RenderType tag to sub-shader level
  2109. v1.6.3 rev 01:
  2110. * Fixes:
  2111. * Fixed issue on screen position calculation across all templates
  2112. * Fixed issue with 'Parallax Occlusion Mapping' node
  2113. * Improvements:
  2114. * Minor tweak on Post-Processing Stack template
  2115. v1.6.3 rev 00:
  2116. * Fixes:
  2117. * Fixed multiple issues with 'Triplanar Sample' node over SRP
  2118. v1.6.2 rev 11:
  2119. * Fixes:
  2120. * Fixed issue on ST registry at 'Parallax Occlusion Mapping' node not taking SRP name convention into account
  2121. * 'Reconstruct World Position From Depth' shader function now compatible with HDRP
  2122. * Fixed crash caused by the 'Outline' node when attempting to be used on nested shader functions
  2123. * Fixed issues with 'Screen Position', 'Depth Fade' and 'Screen Depth' nodes on PPS template
  2124. v1.6.2 rev 10:
  2125. * New Template:
  2126. * PostProcessStack
  2127. * Post-Processing shader based on Unity provided example
  2128. * New Sample:
  2129. * Mosaic Effect PPS
  2130. * New Tool:
  2131. * Post-Processing Stack Tool
  2132. * Generates a cs script with a PPS Renderer and Settings from a given shader
  2133. * New Shader Function:
  2134. * Decoding Directional Lightmap
  2135. * Improvements:
  2136. * Added inline property for Alpha to Coverage option on Standard Surface Shader Type
  2137. * Fixes:
  2138. * Fixed 'Triplanar Sample' and 'Parallax Occlusion Mapping' nodes issues with texture arrays on SRP
  2139. * Fixed crash caused by the 'Outline' node when attempting to be used on templates
  2140. * This node is specific to Standard Surface Shader Type
  2141. * Fixed issue with using Lightweight PBR legacy template
  2142. v1.6.2 rev 08/09:
  2143. * Fixes:
  2144. * Fixed issue with depth texture fetching on Lightweight SRP
  2145. v1.6.2 rev 07:
  2146. * Fixes:
  2147. * Fixed issue on template asset post processor
  2148. v1.6.2 rev 06:
  2149. * Improvements:
  2150. * Updated Decals code and removed warnings from HD Lit template
  2151. * Improved behavior when loading outdated meta from shaders using modified templates
  2152. * Added No Scale and Offset attribute to 'Texture Array' node
  2153. * Fixes:
  2154. * Fixed instancing issues over HD Lit template
  2155. v1.6.2 rev 05:
  2156. * New Shader Function:
  2157. * Blinn Phong Light Wrap
  2158. * Fixes:
  2159. * Fixed issue with null pointer exception when hacking selection on dynamic ports
  2160. * Input ports which appear on p.e. 'Add' and 'Multiply' nodes when dragging wires
  2161. * Fixed shadow issues on HD PBR samples
  2162. * Fixed 'Billboard' node issues on HD SRP
  2163. * Fixed D3D11 internal compiler error on Android + VR over multiple templates
  2164. * Fixed issue with Depth Texture declaration on particles template over Android + VR
  2165. * Fixed issue with local var declaration of custom types on 'Custom Expression' node
  2166. * Fixed issue with 'Object To World','World To Object' and 'Transform Position' nodes
  2167. * Improvements:
  2168. * Added the action of (de)activating ZWrite when Surface type is selected on HD Lit template
  2169. * Added the action of selecting correct Blend RGB when Surface Type is selected on HD Lit template
  2170. * Improved failsafe to when template creators changes order on passes, removes or add new ones
  2171. * Depth Texture now being declared with Unity's own macro on Unity 5.6 and above to prevent issues
  2172. * Updated HD templates and samples to v.4.9.0
  2173. * Users can still use v4.8.0 although template shaders will present an error
  2174. * Final compiled shader will have error removed
  2175. * Added Refraction's Chromatic Aberration as an Inline Property on Standard Surface
  2176. * Located on Blend Mode menu, bellow Refraction Layer option
  2177. * Only shows when Refraction port is connected
  2178. * 'DecodeLightmap' now working on latest SRP templates
  2179. * 'Fetch Lightmap Value' shader function now takes SRP into account
  2180. v1.6.2 rev 04:
  2181. * Fixes:
  2182. * Fixed World To Object and Object To World operations on Lightweight SRP
  2183. * Improvements:
  2184. * Added support for Terrain instancing over Unity 2018.3
  2185. * Correctly handling when user wants to disable main output node
  2186. * Minor tweaks over SRP templates global tags to be able to properly inject code dependent on vertex data
  2187. v1.6.2 rev 03:
  2188. * Fixes:
  2189. * Fixed issue on HD Lit Motion Vector's pass
  2190. * Fixed issue with Default UI template when used on Sprite Renderers
  2191. * Improvements:
  2192. * SRP templates no longer have CBuffer block pre-written
  2193. * Instanced Properties now correctly declare CBlocks
  2194. * Added new Receive Shadows option into Lightweight templates to correctly handle shadows
  2195. v1.6.2 rev 02:
  2196. * New Node:
  2197. * Instance Id
  2198. * Fixes:
  2199. * Fixed issue on not being able to have multiple property nodes fetching the same variable
  2200. * Fixed version issue on both HD and LW samples
  2201. * Improvements:
  2202. * Removed hard cap on interpolator usage on templates
  2203. * Message is thrown to the user if maximum allowed by shader model is reached
  2204. v1.6.2 rev 01:
  2205. * New Template:
  2206. * HD Lit
  2207. * New Sample:
  2208. * SRP HD Lit Refraction
  2209. * Improvements:
  2210. * Can add options on template which lets users change its behavior when using it on ASE
  2211. * Added Vertex Position option into Unlit and SRP templates
  2212. * Specified value on Vertex input port can now be either a relative value or an absolute one
  2213. * Passes can now be excluded from final shader through Available Passes menu over SubShader Properties
  2214. * Fixes:
  2215. * Fixed issues with Lightweight PBR Shadow Caster on WebGL and Android
  2216. v1.6.2 rev 00 / v1.6.1 rev 05:
  2217. * New Template:
  2218. * Unlit Lightmap
  2219. * New Sample:
  2220. * Unlit With Lightmap
  2221. * Fixes:
  2222. * Fixed issue on 'Depth Fade' node with custom Vertex Positions
  2223. * Fixed issue with using the X,Y,Z,W output ports on 'Object To World' node
  2224. v1.6.1 rev 04:
  2225. * New Node:
  2226. * Linear Depth
  2227. * Converts values given on logarithmic space to linear
  2228. * Improvements:
  2229. * Minor improvement on nodes loading time when initializing ASE
  2230. * Fixes:
  2231. * Fixed local variable duplicate issue when using 'Depth Fade' and 'Screen Position' nodes
  2232. * Fixed serialization issue with Additional Use Passes and Fallback data when going into play mode
  2233. * Fixed HDRP issues on Motion Vectors pass
  2234. * Fixed issue with uniform keyword usage inside cbuffers (SRP templates) over PS4
  2235. * Fixed issue with 'Common Transform Matrices' node over SRP templates
  2236. * Fixed object to world/world to object space transform on transform nodes over HD templates
  2237. * 'Transform Position', 'Object To World' and 'World To Object' nodes
  2238. * They now take SHADEROPTIONS_CAMERA_RELATIVE_RENDERING keyword into account
  2239. * Fixed issue with 'Pixelate UV' node when used over vertex functions
  2240. * Fixed foldout issue between Additional Surface Options and Custom SubShader Tags on Surface node properties
  2241. v1.6.1 rev 03:
  2242. * New Shader Functions:
  2243. * Terrain Wind Value
  2244. * Terrain Wind Animate Vertex
  2245. * Updated Simple Terrain sample to use this shader function
  2246. * Improvements:
  2247. * Updated HDRP PBR template to v4.6.0
  2248. * Added Alpha To Coverage/Alpha To Mask option into templates
  2249. * Set under the Blend Mode area
  2250. * Fixes:
  2251. * Fixed issue on Emission color being added over Forward Add pass when using 'Standard Surface Light' node
  2252. v1.6.1 rev 02:
  2253. * Fixes:
  2254. * Fixed issue with reordering material properties for Translucency and Refraction port's properties
  2255. * Fixed issue with 'Texture Sample' node when referencing an unconnected node
  2256. v1.6.1 rev 01:
  2257. * Improvements:
  2258. * Updated HDRP templates to v4.3.0
  2259. * 'Vertex Tangent' node now has Size option
  2260. * Added access to all 8 UV sets on Surface shaders
  2261. * Re-added 'Clip' node
  2262. * First Input Port acts as a relay
  2263. * Clip uses difference between Alpha and Threshold ( Alpha - Threshold )
  2264. * Fixes:
  2265. * Fixed issue with late directives being injected on globals tag when functions area is available
  2266. * Affected usage of 'World Space Light' nodes on HDRP templates
  2267. * Fixed division by 0 issue on 'Triplanar Sample' node
  2268. * Fixed incorrect directional light vector usage on HDRP templates
  2269. v1.6.1 rev 00:
  2270. * Fixes:
  2271. * Excluding Primitive ID source code from MacOS
  2272. v1.6.0 rev 00:
  2273. * Improvements:
  2274. * Updated SRP templates to v4.2.0
  2275. * Fixes:
  2276. * Fixed issue on GBuffer pass over HD PBR template
  2277. * Fixed alpha clip issues on Legacy HD PBR template
  2278. v1.5.9 rev 02:
  2279. * New Nodes:
  2280. * Vertex Id
  2281. * Primitive ID
  2282. * New Shader Functions:
  2283. * Perturb Normal HQ
  2284. * Prepare Perturb Normal HQ
  2285. * Improvements:
  2286. * Matrix type nodes can now be GPU instanced
  2287. * Fixes:
  2288. * Fixed issue with 'Fresnel' node with Tangent Normal vectors on Surface shaders
  2289. * Fixed issues on Motion Vector pass on both 3.x.x. and 4.x.x templates
  2290. * Fixed issue with world pos generation on HD 4.x.x
  2291. v1.5.9 rev 01:
  2292. * Improvements:
  2293. * Added Auto Gamma to Linear option into 'Color' nodes when set to Constant
  2294. * Added access to all 8 uv channels on 'Texture Coordinates' and 'Vertex TexCoord' nodes
  2295. * Only for 2018.2 and above
  2296. * Fixes:
  2297. * Fixed 'Gamma To Linear' and 'Linear To Gamma' compiler errors on SRP v.4.x.x
  2298. v1.5.9 rev 00:
  2299. * Fixes:
  2300. * 'Grab Screen Color' node now also working on Lightweight SRP v3.x.x
  2301. * Fixed possible issue with Shader Function creation callback not being inside AmplifyShaderEditor namespace
  2302. v1.5.8 rev 03:
  2303. * Fixes:
  2304. * Fixed multiple issues in both PBR and Unlit templates for HD SRP v4.x.x
  2305. * Fixed issue over clip space transforms on HD SRP
  2306. * Fixed issue on sampling depth buffer on HD SRP
  2307. v1.5.8 rev 02:
  2308. * Improvements:
  2309. * Multiple improvements over 'Global Array' node
  2310. * Added support for jagged arrays
  2311. * Added Auto-Register toggle
  2312. * Can reference other nodes through new Mode dropdown ( similar to 'Grab Screen Color' node )
  2313. * Fixes:
  2314. * Fixed memory leak over 'Template Local Var' node
  2315. * Fixed HD templates issues over new HD 4.1.0
  2316. v1.5.8 rev 01:
  2317. * Fixes:
  2318. * Fixed issue on Live Mode writing on non ase shaders when loaded into canvas
  2319. * Fixed issue on MacOS with scroll bar over Texture Array Creator tool
  2320. * Fixed issue on MacOS with 'Function Input' node generated default Sampler 2D value
  2321. * New Shader Function:
  2322. * Substance Blend Metallic
  2323. * Improvements:
  2324. * 'Grab Screen Color' node is now supported on LW SRP
  2325. * Uses the new _CameraOpaqueTexture which must be requested on the pipeline asset
  2326. * Must toggle on the Opaque Texture option over its General foldout
  2327. * Added Clip and Tangent spaces into 'Transform Direction' node
  2328. * Added Tangent space into 'Transform Position' node
  2329. v1.5.8 rev 00:
  2330. * New Sample:
  2331. * Substance 2018
  2332. * Fixes:
  2333. * Fixed canvas crash when loading shaders with missing templates
  2334. * Fixed issue on UV Coords creation over 'Substance Sample' Node
  2335. * Fixed issue with loosing Substance reference on 'Substance Sample' node when applying new changes on it
  2336. * Only happened on Unity 2018 with Substance in Unity plugin
  2337. * Fixed issue on nested instanced properties over shader functions not being taken into account
  2338. * Improvements:
  2339. * Upgraded Lightweight and HD templates to v5.0.0
  2340. * Maintained templates for v.3.x.x under the packages HDSRPTemplates (Legacy) and LWSRPTemplates (Legacy)
  2341. v1.5.7 rev 02:
  2342. * Fixes:
  2343. * Fixed issues on 'Static Switch' node
  2344. * Property Name wasn't available in all options
  2345. * Keys on Keyword Enum over Fetch Mode were being automatically upper cased
  2346. * Fixed issue on 'Get Local Var' node not propagating node data correctly after being loaded
  2347. v1.5.7 rev 01:
  2348. * New Templates:
  2349. * Custom RT Init
  2350. * Packed inside AmplifyShaderEditor > Plugins > EditorResources > Templates > CustomRTTemplates
  2351. * Custom RT Update
  2352. * Packed inside AmplifyShaderEditor > Plugins > EditorResources > Templates > CustomRTTemplates
  2353. * New Sample:
  2354. * Custom Render Texture Rain
  2355. * Packed inside AmplifyShaderEditor > Examples > Custom RT Samples
  2356. * Needs both Custom RT Init and Custom RT Update templates to be imported into project
  2357. * Fixes:
  2358. * Fixed issue on Queue Offset incorrect writing over templates
  2359. * Fixed issue on templates not recognizing uint
  2360. * Fixed minor issue over Directives UI
  2361. * Fixed Shadow Coord macro registry differences between Unity 5.5 and above
  2362. * Improvements:
  2363. * Added Substance Plugin integration over ASE for Unity 2018 and above
  2364. * Added Mirror option into 'Depth Fade' node
  2365. * Enabled by default, which was older behavior
  2366. * If toggled on, sets an abs operation over the final value
  2367. * Custom Render Textures can now be used/dragged over ASE
  2368. * Can Pan and Zoom ASE canvas camera through keyboard directional keys
  2369. * Up/Down/Left/Right Arrow keys pan camera
  2370. * Alt+Up/Alt+Down/Alt+Left/Alt+Right Arrow keys zoom camera
  2371. v1.5.7 rev 00:
  2372. * Fixes:
  2373. * Fixed issue with using FACE type nodes over both Lightweight and HD Unlit templates
  2374. * Fixed issue regarding 'Lerp' node's Alpha input port always loading as a Float type
  2375. * Fixed minor issue on 'Function Subtitle' node tooltip
  2376. * Fixed minor issue on 'Posterize' node
  2377. * Power variable should not be shown on property window if its input port is connected
  2378. * Fixed minor issue with auto-spacing over shader function names
  2379. v1.5.6 rev 08:
  2380. * Fixes:
  2381. * Fixed Queue Offset not being correctly set when loading certain template based shaders
  2382. * Fixed HSV nodes previews
  2383. * Fixed multiple issues with Directives over shaders functions
  2384. * Fixed issue on nodes not being correctly set up over template's invisible passes with linked ports
  2385. * Improvements:
  2386. * Directives in Include mode now fully support cgincs and hlsl files to be dragged into them
  2387. * Similar behavior of inline properties, click on button right next to Include textfield to activate object drop UI
  2388. * Adding GPU Instancing support to Unlit template
  2389. * Adding new Vertex Position port into 'Depth Fade' node
  2390. * Adding new Saturate option into 'Depth Fade' node
  2391. * Can now set precision to each 'Custom Expression' node items individually
  2392. v1.5.6 rev 07:
  2393. * Fixes:
  2394. * Fixed duplicated events registry when loading graphs
  2395. * Fixed incorrect instanced variables reset over shader functions
  2396. v1.5.6 rev 06:
  2397. * Fixes:
  2398. * Out variables on 'Custom Expression' node no longer appears as inputs
  2399. * Fixed issue on not updating output port names correctly over 'Custom Expression' node
  2400. * Fixed issue on properties with Header(...) not being written on shader
  2401. * Fixed incorrect read/write on MRT Blend Mode and Op over template based shaders
  2402. * Fixed possible infinite loops caused by 'Register/Get Local Var' nodes
  2403. * Fixed Shader Type dropdown items not updating names correctly according to changes on template
  2404. * Fixed issue on adding multiple ASE tabs on Unity 2018.3
  2405. * Fixed WebGL error over 2018.3b
  2406. * Fixed 'Parallax Offset' node issues when used on Lightweight and HD SRP templates
  2407. * Fixed dynamically created outputs over shader function not being correctly set after hot code reload
  2408. * Improvements:
  2409. * Property Name and Values get its label clamped when too big
  2410. * Full original name and value is shown over its node tooltip
  2411. * Hidden tag on template shader names no longer created a category called Hidden
  2412. * Adding new ase_funcs tag functionality to determine where function code should be injected
  2413. * If not specified, functions are grouped with global variables as before
  2414. * Improved template reloading after being manually edited
  2415. v1.5.6 rev 05:
  2416. * Fixes:
  2417. * Fixed 'Smoothstep' node code generation issue
  2418. * Fixed ASE item grouping issue on Create menu over Unity 2017 and above
  2419. v1.5.6 rev 04:
  2420. * Fixes:
  2421. * Fixed shortcut manager to take 2018.3 new event behavior into account
  2422. v1.5.6 rev 03:
  2423. * Fixes:
  2424. * Fixed several shader functions issues
  2425. * Fixed Undo issue when using directives textfields
  2426. * Fixed issue of null references being set on directives list when loaded
  2427. * Fixed directives not being correctly written on shader
  2428. * Fixed incorrect Refraction port activation issue on Standard Surface Custom Lighting
  2429. * Fixed issue on Property nodes with Auto-Register toggled on not being registered
  2430. * Fixed cascaded shadows issue on HD PBR template
  2431. * Improvements:
  2432. * Minor update on 'Smoothstep' node ports behavior
  2433. * Added preview to 'Swizzle' node
  2434. v1.5.6 rev 02
  2435. * Fixes:
  2436. * Fixed issue on multi-pass templates not getting correct interpolator count from subshader info
  2437. * Fixed issue on Depth Offset template option auto enabling after hot code reload
  2438. * Improvements:
  2439. * Using current world position and world view direction when getting indirect specular light values on templates
  2440. v1.5.6 rev 01
  2441. * Fixes:
  2442. * Fixed issue with global variables on Property type nodes being ignored by Auto-Register toggle
  2443. * Fixed Native Directives capture issue over templates
  2444. * Fixed issues on adding duplicate directives if they are already natively on the template
  2445. * Fixed compilation errors from Gamma/Linear nodes on SRP templates
  2446. * Fixed ArgumentOutOfRangeException over file path on new shader creation
  2447. * Fixed issues over Motion Vector pass on HD PBR template
  2448. * Fixed issue on 'Light Color' node with HD templates
  2449. * Fixed issue on 'World Space Light Dir' node with HD templates
  2450. * Fixed issue on 'Object Space Light Dir' node with HD templates
  2451. * Improvements:
  2452. * Added support for Variable Mode over Texture Objects type nodes
  2453. * Adding UI Widget helper for setting Render Type and Queue for templates
  2454. * On SubShader Tags group, Value UI changes as soon as user writes RenderType or Queue on the Name textfield
  2455. v1.5.6 rev 00
  2456. * New Samples:
  2457. * SRP Lightweight Terrain
  2458. * Multi Pass Distortion
  2459. * New Node:
  2460. * Switch by Pipeline
  2461. * Shader function specific node to choose different paths according to current pipeline
  2462. * New Shader Function:
  2463. * Fetch HD Color Pyramid
  2464. * Fixes:
  2465. * Fixed world position issues over HD PBR Template
  2466. * Fixed transparent issues over HD PBR template
  2467. * Prevented WorldNormalVector macro to confuse lerp operations
  2468. * Fixed issue on created shaders being placed in incorrect folders when on two column node
  2469. * Fixed issue on property registering over multi-pass shaders
  2470. * Improvements:
  2471. * Custom Options can now be added directly over templates
  2472. * Adding Final Color x Alpha custom option into LW PBR
  2473. * If toggled on multiples fragment final color by its alpha
  2474. * Apply Fog on LW PBR takes Add Pass directive into account
  2475. * Adding SRP support to Four Splats First Pass Terrain shader function
  2476. * Material Global lIllumination flags for emission can now be modified over Surface Rendering Options
  2477. * Activated Variable mode into 'Texture Sample' nodes
  2478. v1.5.5 rev 01
  2479. * Fixes:
  2480. * Fixed issue over incorrect name registration over 'Register Local Var' on pasting into another shader
  2481. * Fixed issue on reading shaders using old shader functions with deprecated nodes
  2482. * Fixed 'World Pos' node issue on HD SRP template
  2483. * Fixed issue on 'World Normal' node when used in 'Lerp' node
  2484. * Improvements:
  2485. * 'Register/Get Local Var' nodes maintain connections even if copied to another shader
  2486. v1.5.5 rev 00
  2487. * New Node:
  2488. * Diffuse And Specular From Metallic
  2489. * Fixes:
  2490. * Fixed issues on graph not being updated with material changes on inspector if tab is opened but not selected
  2491. * Preventing Culture difference issues on material copy-paste
  2492. * Fixed issue on all modules template tag conflict with existing shader model definition
  2493. * Fixed HD issue on 'World Position' node
  2494. * Fixed issue on losing name when copy-pasting property nodes between shaders
  2495. * Fixed issue on resetting custom inspector to ASE default when loading or hot code reloading shader with its textfield empty
  2496. * Fixed issue on not setting importer correctly on 'Texture Sample' node when setting a normal map type texture from inspector
  2497. * Improvements:
  2498. * Properties on invisible passes can now be synced with main pass over templates
  2499. v1.5.4 dev 10:
  2500. * New Sample:
  2501. * SRP HD Material Types
  2502. * Please notice that for SSS to work properly, a Diffusion profile must be attached to the HD pipeline asset
  2503. * We already supply one over the sample folder ( Diffusion Profile Settings )
  2504. * Fixes:
  2505. * Fixed UX issue with Auto-Register/Set Unique flags on 'Custom Expression' node
  2506. * Fixed issue with cascade shadows over Lightweight template
  2507. * Improvements:
  2508. * Added Material Types selector into HD template
  2509. * Subsurface Scattering
  2510. * Standard (Metallic)
  2511. * Specular
  2512. * Anisotropy
  2513. * Iridescence
  2514. * Translucent
  2515. v1.5.4 dev 09:
  2516. * Fixes:
  2517. * Fixed Grab Pass issue with 'Outline' node
  2518. * Fixed PreviewRenderUtility leak over shader and material inspector on 2018.2
  2519. * Fixed issue with 'PI' node over HD SRP
  2520. * Improvements:
  2521. * Minor improvement over shader save time
  2522. v1.5.4 dev 08:
  2523. * Fixes:
  2524. * Fixed issue on 'Component Mask' node generating compilation errors inside shader functions with auto-cast inputs
  2525. * Fixed issue on loop unroll error over 'Parallax Occlusion Mapping' node
  2526. * Fixed issue on crashing ASE when loading a shader or shader function with a missing shader function reference
  2527. * Adding error message when loading a shader or shader function with missing shader functions
  2528. * Improvements:
  2529. * Added support to Vertex Normal modification on both Unlit and PBR HD templates
  2530. * Adding 'Global Array' variable name info directly on node
  2531. v1.5.4 dev 07:
  2532. * New Templates:
  2533. * HD PBR
  2534. * HD Unlit
  2535. * Fixes:
  2536. * Fixed issue on incorrectly capturing module tags
  2537. * Fixed issues with 'Flipbook UV Animation' node
  2538. * Fixed multiple issues with Directives usage under shader functions with templates
  2539. * Fixed issue on 'Custom Expression' node loading on Call mode
  2540. * Fixed issue on unpacking normals with scale on templates over multiple nodes
  2541. * Changing tessellation on Procedural Wall sample shader from edge to distanced based to prevent metal issues on Mac
  2542. v1.5.4 dev 06:
  2543. * Fixes:
  2544. * Fixed issue on 'Toggle Switch' node not taking Custom Attributes into account
  2545. * Fixed out of bounds exception over 'Static Switch' node
  2546. * Fixed issue on templates port linking behavior
  2547. * Fixed issues on 'Texture Array', 'Triplanar Sample' and 'Unpack Scale Normal' nodes on Lightweight SRP
  2548. * Fixed issue on shader function directives not being written on template based shaders
  2549. * Fixed serialization issue on saving/loading shader function directives
  2550. * Fixed issue with using 'Texture Array' node inside shader functions
  2551. * Fixed shader compilation errors on'Parallax Occlusion Mapping'
  2552. * Now it does not generate code if no 'Texture Object' node is connected to it
  2553. * Fixed issue on 'Grab Screen Color' node not updating reference list correctly when copy/pasted
  2554. * Fixed issue with Undo'ing a 'Grab Screen Color' node on reference mode
  2555. * Improvements:
  2556. * Min and Max Samples options on 'Parallax Occlusion Mapping' node are now inline options
  2557. v1.5.4 dev 05:
  2558. * Fixes:
  2559. * Fixed issue with Vector and Matrix UI spacing on 'Custom Expression' node
  2560. * Fixed issue on functions being generated twice over a 'Custom Expression' node when auto register and connection are both on
  2561. * Fixed Blend Op issues with OFF state
  2562. * Improvements:
  2563. * Can now use a custom screen position into 'Dither' node
  2564. * Added Normalize option into 'Compute Screen Pos' node
  2565. v1.5.4 dev 04:
  2566. * Fixes:
  2567. * Fixed issue on resetting material's Render Queue setting when compiling the shader in Material mode
  2568. * Fixed issue on Blend Op menu not showing when loading a template based shader
  2569. * Improvements:
  2570. * Re-adding DX11 specific Blend Ops into its respective dropdowns
  2571. * 'Custom Expression' node items are now reorderable
  2572. * 'Custom Expression' node can now register dependencies to other ones
  2573. * Can now better control function register order on final shader
  2574. v1.5.4 dev 02/dev 03:
  2575. * New Shader Function:
  2576. * Color Mask
  2577. * Fixes:
  2578. * Fixed issue on template Unlit SRP generating an error when creating a Color or MainTex named property
  2579. * Fixed issue on both 'Surface Depth' and 'Camera Depth Fade' nodes when inputting a custom vertex position
  2580. * Stencil module on Pass now uses SubShader Cull mode if it's not specified on it
  2581. * Important since Cull determines if separate stencil ops are show for each face
  2582. * Fixed issue with Fallback shader selector not updating if its textfield is focused
  2583. * Fixed issue on Grab Pass only being registered on first pass when on multi-pass templates
  2584. * Improvements:
  2585. * Added auto register option into 'Grab Screen Color' node
  2586. * Adding UsePass support
  2587. * New Additional Use Passes section on both Surface and Template output nodes
  2588. * Can add UsePass before or after Surface code via a Location dropdown
  2589. * On Templates the Below location is still under development and its not available
  2590. v1.5.4 dev 01:
  2591. * New Shader Function:
  2592. * Fetch Lightmap Value
  2593. * Improvements:
  2594. * Simple Terrain sample now support more than four splats
  2595. * Fixes:
  2596. * Fixed issue on Node Palette reading incorrect maximized value when opening ASE window
  2597. v1.5.3 dev 12:
  2598. * Fixes:
  2599. * Fixed null pointer exception with texture arrays over shader functions
  2600. * Fixed memory leak on shader functions destruction
  2601. * Improvements:
  2602. * Improved templates loading behavior after hot code reload
  2603. * Replaced individual lists for pragmas, defines and includes by a single reorderable list
  2604. * Now user select what each line represents via a dropdown
  2605. * Additional surface options can now be added via the Additional Surface Options tab on the Output node
  2606. * Added custom type for 'Custom Expression' node data type specification
  2607. v1.5.3 dev 11:
  2608. * Fixes:
  2609. * Fixed issue on not correctly cleaning Undo stack when changing master node
  2610. * Fixed multiple issues with safe normalize operation over world light dir and view dir
  2611. * Fixed world light dir issues over Lightweight SRP
  2612. * Fixed GPU instancing compile issues on Lightweight SRP
  2613. * Fixed issue on Includes/Pragmas/Defines UI not showing when no other modules over a template
  2614. * Improvements:
  2615. * Optimizing property block allocation for instanced variables to have less internal padding involved
  2616. * Added custom attributes to 'Toggle Switch' node
  2617. * Added toggle to 'Matrix from Vector' node use each input as column
  2618. v1.5.3 dev 10:
  2619. * Fixes:
  2620. * Fixed issue with being able to duplicate output nodes on templates
  2621. * Fixed issue on foldout flag values being shared between multiple ASE tabs
  2622. * Improvements:
  2623. * 'Get Local Var' port is locked until a valid reference is set to prevent incorrect connections
  2624. * Updated About image and added Manual link on Amplify Shader Editor menu group
  2625. * Adding unique id duplicate prevention over shader load
  2626. * Added support for stencil operations on Lightweight templates
  2627. v1.5.3 dev 09:
  2628. * New Shader Functions:
  2629. * Lerp White To
  2630. * Detail Albedo
  2631. * Fixes:
  2632. * Fixed API library excluding tool for custom nodes
  2633. * Improvements:
  2634. * Template creators can now register all modules
  2635. * Simply add the /*ase_all_modules*/ either on the Pass or SubShader body
  2636. * Templates now support Fallback definition on shader
  2637. * Templates now support Dependencies definition on shader
  2638. v1.5.3 dev 08:
  2639. * Fixes:
  2640. * Fixed Instance ID issue over Lightweight SRP template
  2641. * Improvements:
  2642. * Added API option to remove includes on data collector
  2643. * Stencil can now be toggled off on templates which have it
  2644. v1.5.3 dev 07:
  2645. * New Sample:
  2646. * Projectors
  2647. * Exemplify Unity Projectors usage under ASE
  2648. * Improvements:
  2649. * Improved Texture Array Tool
  2650. * Now also creates Texture3D by hitting the Texture 3D toggle
  2651. * Can drag and drop multiple textures into tool
  2652. * Can drag and drop a folder and it will include all its nested textures
  2653. * Added Clear button to remove all textures from Texture List ( UI still work in progress )
  2654. * 'Parallax Occlusion Mapping' node now also supports Texture 3D
  2655. * Replaced the Texture Array toggle by a Texture Type dropdown
  2656. * User must explicitly set the current 3D texture slice via the Tex3D Slice input port
  2657. * Removed Fixed precision type since it's no longer available on Unity 2018
  2658. * Updated Lightweight PBR template to v1.1.8
  2659. * Re-factored Templates location and names
  2660. * New and more flexible templates will be gradually added to replace legacy ones
  2661. * A cleaner Unlit template shader was already added on this build
  2662. * Fixes:
  2663. * Fixed issue on using depth operations on particle template
  2664. * Fixed sometimes light attenuation not showing up correctly
  2665. * Fixed allowing to open unity built-in shaders on ASE
  2666. * Fixed issue on using incorrect port value on 'Refract' node
  2667. * Fixed issue on Texture Object type nodes loosing texture type after load
  2668. v1.5.3 dev 06:
  2669. * New Sample:
  2670. * XRay
  2671. * Object has different drawing behavior in front and behind a wall
  2672. * Wall pattern is procedurally generated
  2673. * Improvements:
  2674. * Template internal properties can be used as inline properties on modules
  2675. * Modules can now read inline properties from the template original source
  2676. * Unreadable data message is no longer shown on node properties
  2677. * Added more options to 'Fresnel' node
  2678. * Now supports custom view vector
  2679. * Preventing cast warning with object to clip internal function usage when building shader code for Lightweight SRP
  2680. * Added new icons for inline properties to the Unity personal skin to make them easier to spot
  2681. * Updated Lightweight SRP templates
  2682. * Cull Mode now shared across base, shadow and depth pass
  2683. * Added new Normal input port
  2684. * Fixes:
  2685. * Fixed issue over templates on not assuming inline properties when loading/saving Cull Mode module
  2686. * Fixed incorrect cast and type assignment on connections between 'Texture Object' and 'Texture Sample' nodes
  2687. * Fixed issue on deleting outputs on shader functions and later opening the shaders that use it
  2688. * Fixed issues on Vertex Offset port on Lightweight PBR template
  2689. * Fixed issue on not correctly loading 'Rotate About Axis' node from old shaders
  2690. * Fixed issue on header not showing with texture properties with the NoScaleOffset attribute
  2691. v1.5.3 dev 05:
  2692. * Fixes:
  2693. * Fixed world normal issues over 'Outline' node
  2694. * Fixed issues on reading/writing cull mode on templates meta
  2695. * Fixed issue on capturing includes over templates
  2696. * Fixed issue on Specular workflow over Lightweight PBR template
  2697. * Improvements:
  2698. * Cull Mode can now be modified over outline node
  2699. v1.5.3 dev 04:
  2700. * New nodes:
  2701. * Transform Position
  2702. * Transform Direction
  2703. * Improvements:
  2704. * Added inline property support over templates modules
  2705. * Also added inline property support over Depth Offset values in both template and standard surface
  2706. * Minor tweak over 'Clamp' node
  2707. * Internal max value defaulted to 1
  2708. * Adding additional modules into Lightweight templates
  2709. * Enabling ZTest over Particles Alpha Blended template
  2710. * Fixes:
  2711. * Fixed issue on Lightweight PBR template over tangents on objects with non-uniform scales
  2712. * Fixed issue on Lightweight PBR not receiving real time shadows
  2713. * Fixed issue on Lightweight Unlit template available interpolators
  2714. * Fixed issue on Lightweight Unlit template not showing correctly on dropdown menu
  2715. * Fixed issue on tab titles not being correctly written on shader mode over templates
  2716. * Fixed issue on property names incorrectly appearing over inline properties
  2717. * Fixed issue with copy/pasting 'Append' nodes
  2718. * Fixed issue on 'Global Array' node loading from older shaders
  2719. v1.5.3 dev 03:
  2720. * New Template:
  2721. * Lightweight Unlit
  2722. * Renamed already existing SRP Template to Lightweight PBR
  2723. * New Sample:
  2724. * SRP Lightweight 2D Fractal
  2725. * Fixes:
  2726. * Fixed issue with 'Parallax Occlusion Mapping' node over Lightweight templates
  2727. * Fixed Safe Normalize issues with 'View Dir' node on templates
  2728. * Improvements:
  2729. * Added Auto-Register option into 'Static Switch' node
  2730. * Minor improvement over 'Parallax Occlusion Mapping' node generated code to avoid duplicate calculations
  2731. v1.5.3 dev 02:
  2732. * Fixes:
  2733. * Fixed infinite loop via context menu issue
  2734. * Improvements:
  2735. * Added support for Specular workflow into Lightweight SRP template
  2736. * Use either the new Specular port or the already existing Metallic port to choose which workflow to use
  2737. * Added extra ASE null pointer exception prevention test on attempting loading shader with missing shader functions
  2738. v1.5.3 dev 01:
  2739. * Improvements:
  2740. * Conditional 'If' node also support Int as compare values
  2741. * Added Triplanar scale port for normal scaling when using normals in 'Triplanar Sample' node
  2742. * Improved code generation for 'Texture Coordinates' node
  2743. * Changed way float values were being generated when their value was an integer
  2744. * Removes warnings and makes sure some operations are done in the correct space, like divisions
  2745. * Improved operations order on 'Panner' node
  2746. * Added Force Disable Instancing option into Surface output node Rendering Options
  2747. * Updated Lightweight SRP template to be compatible with Unity latest LW SRP version 1.1.5
  2748. * Fixes:
  2749. * Fixed issue on 'Global Array' node not being correctly detected by ASE
  2750. * Fixed texture array sampling error caused by 'Parallax Occlusion Mapping' node on Unity 2018
  2751. * Fixed issue on local variable excluded reset method
  2752. * Fixed issue on 'Triplanar Sample' node Material Mode not being correctly set
  2753. v1.5.2 dev 05:
  2754. * New Samples:
  2755. * Single Channel Masking by Sarah Akers and David Marshall
  2756. * Dithering Fade Blue Noise
  2757. * New Node:
  2758. * Inverse View Matrix
  2759. * Fixes:
  2760. * Fixed issue on not copying defaults to material values when changing Type from Global to Property over property type nodes
  2761. * Fixed Stencil Comparison not being correctly written on shader when set as an inline property
  2762. * Fixed issue on Reference mode not being taken into account when registering 'Texture Sample' properties
  2763. * Fixed infinite loop on 'Texture Sample' nodes with Reference mode
  2764. * Fixed custom outline alpha mask mode
  2765. * Fixed issues on compare type nodes accessing their Wiki page
  2766. * Fixed dropdown left title padding for nodes that have it but don't have a preview arrow
  2767. * Improvements:
  2768. * Improved 'Unpack Scale Normal' node usage on Burn Effect sample
  2769. * Now compatible across all Unity versions
  2770. * Re-factored Global variables behavior over property type nodes
  2771. * Material values can no longer be edited
  2772. * Auto-fetching global variables values every 2 seconds
  2773. * Parameter type can be changed in node over texture type nodes
  2774. * Removing automatic header creation by properties under shader functions
  2775. * User now can manually set headers on property type nodes via its attributes
  2776. * Turned the main Mask Clip Value an inline property so users can set it to be a specific node
  2777. * Updated 'Screen Position' node preview
  2778. * New Previews:
  2779. * Compare ( A > B )
  2780. * Compare ( A >= B )
  2781. * Compare ( A < B )
  2782. * Compare ( A <= B )
  2783. * Compare ( A == B )
  2784. * Compare ( A != B )
  2785. * Compare With Range
  2786. * If [Community]
  2787. * Decode Float RG
  2788. * Encode Float RG
  2789. * Decode Float RGBA
  2790. * Encode Float RGBA
  2791. * Decode View Normal Stereo
  2792. * Encode View Normal Stereo
  2793. * Decode Lightmap
  2794. * ColorSpaceDouble
  2795. * Face
  2796. * Switch By Face
  2797. * LOD Fade
  2798. * Layered Blend
  2799. * Weighted Blend
  2800. * Summed Blend
  2801. v1.5.2 dev 04:
  2802. * Fixes:
  2803. * Fixed issue on Post-Process sample scenes crashing on lower Unity versions
  2804. * Fixed issue on fallback behavior when required template on loaded shader is not found
  2805. * Fixes issue on texture type nodes moving when a texture is selected over it's picker
  2806. * ASE window now aware when ObjectSelectorClosed command is fired to ignore incorrect mouse delta values
  2807. * Improvements:
  2808. * View Dir vector on templates is now calculated on fragment by default
  2809. * World Reflection vector on templates is now calculated on fragment by default
  2810. * Native View Dir vector calculation on Lightweight SRP template is now done on fragment
  2811. * Shader function 'Reconstruct World Position From Depth' now also works with screen shaders
  2812. * Updated Skybox - Cubemap Extended by Cristian Pop sample
  2813. v1.5.2 dev 03:
  2814. * Fixes:
  2815. * Fixed issue with 'Grab Screen Color' node on Lightweight SRP template
  2816. * Fixed multiple issues with Shader Model selection over templates
  2817. * Fixed issue on not correctly syncing module data from modified template
  2818. * Improvements:
  2819. * Re-factored local variable creation over ports to make it more robust
  2820. * Vertex ports are now analyzed before fragment ones
  2821. * Vertex position dependent operations now take applied offsets into account
  2822. * Pragmas, Includes and Defines are copied from linked nodes if Pass is set as invisible
  2823. * Added preview to 'Vertex To Frag' node
  2824. * Small optimization on drawing connections
  2825. * Minor tweak over Particles Alpha Blended template
  2826. * Assigned dynamic interpolators now take both sub shader and pass info into account
  2827. * Modified Lightweight SRP template to share dynamic interpolators amount over hidden passes
  2828. v1.5.2 dev 02:
  2829. * Improvements:
  2830. * Added Safe Normalize option to 'World Space Light Dir' node
  2831. * Assures vector is not zero even if there's no lights in scene
  2832. * Added Safe Normalize option to 'View Dir' node
  2833. * Assures vector is not zero even if there's no cameras on scene
  2834. * Property names can neither be or start with numerical values nor Unity reserved names
  2835. * Variables from 'Register Local Var' nodes cannot start or be numerical
  2836. * Fixes:
  2837. * Fixed shader function subtitles not being shown after being set with the 'Function Subtitle' node
  2838. * Fixed Custom Lighting using opacity and opacity mask duplicating code
  2839. v1.5.2 dev 01:
  2840. * Fixes:
  2841. * Changed alpha generation for Custom Lighting to work correctly with alpha mask
  2842. * Fixed issue on shader function reloading not being taken as a load operation
  2843. * Fixed instanced properties not being correctly taken into account inside shader functions
  2844. * Improvements:
  2845. * Improved shader function asset loading on Shader Function node
  2846. v1.5.1 dev 06:
  2847. * Improvements:
  2848. * Added preview to 'Noise Generator' node
  2849. * Improved node internal data viewer performance
  2850. * Improved the shader changed/dirty flag behavior
  2851. * Improved graph canvas position adjust on loading from a previously different window configuration
  2852. * Renamed 'Melting' sample shader to be in accordance with other community samples
  2853. * Fixes:
  2854. * Fixed property node auto-register issue on 'Skybox - Cubemap Extended' sample
  2855. * Fixed issues with 'World Normal' and 'World Reflection' nodes on PS4
  2856. * Fixed multiple cast issues across multiple nodes
  2857. * Fixed incorrect port behavior on 'Refract' node
  2858. * Fixed issue on undoing instanced properties assignment
  2859. * Fixed 'Break To Components' node duplicating code and generating errors
  2860. v1.5.1 dev 05:
  2861. * Improvements:
  2862. * Added previews to nodes
  2863. * Desaturate
  2864. * Grayscale
  2865. * Posterize
  2866. * Simple Contrast
  2867. * Normal type input ports now show the correct default tangent vector on nodes internal value previewer
  2868. * Indirect Diffuse Light
  2869. * Indirect Specular Light
  2870. * Fresnel
  2871. * World Normal
  2872. * Fixes:
  2873. * Fixed possible issue with 'Desaturate' node on PS4
  2874. * Fixed issues with Undo/Redo operations over Wire nodes
  2875. * Fixed light color and light dir info on 'Light Color'
  2876. * Now takes into account Unity different behaviors between versions
  2877. * Fixed issue on loading canvas on ASE tabs pointing to inexistent resources
  2878. v1.5.1 dev 04:
  2879. * New Node:
  2880. * Function Subtitle
  2881. * Allows creation for custom subtitles on Shader Functions
  2882. * New Shader Functions:
  2883. * Perturb Normal
  2884. * Cotangent Frame
  2885. * Improvements:
  2886. * Can now assign property to both blend modes and operations
  2887. * Removing carriage return when saving 'Custom Expression' node code on meta
  2888. * Improved restrictions on Shader Functions outputting Matrix type data
  2889. * Name is carried over Pasted/Duplicated 'Custom Expression' nodes
  2890. * Custom Editor/Inspector option is now available over templates
  2891. * Updated both Lightweight template and samples to new beta version
  2892. * Template now support vertex offset and alpha test
  2893. * Nodes internal data can be viewed directly on canvas
  2894. * Can be turned on/off through the 'I' key
  2895. * Added Editable If Custom Drawer by BinaryCats
  2896. * Dynamic interpolator cap now respecting pass choice on graph
  2897. * Updating current templates to be dynamically cap'ed
  2898. * 'Light Color' and 'World Space Light Dir' nodes now behave properly when used with lightmaps
  2899. * Fixes:
  2900. * Fixed issue with incorrectly trying to write fragment instructions on template without specified frag code area
  2901. * Fixed issue where reference 'Function Switch' nodes were not displaying their option in all cases
  2902. * Fixed wire node Undo issues
  2903. v1.5.1 dev 03:
  2904. * New Samples:
  2905. * Simple Potion Liquid
  2906. * Melting by Gil Damoiseaux
  2907. * Improvements:
  2908. * Extended functionalities on 'Custom Expression' node
  2909. * Added Auto-Register toggle to create custom functions even if not connected to output node
  2910. * Added void to Output Type
  2911. * Call Mode toggle is now a Mode dropdown
  2912. * Mode Call now only allows external function calls or inline instructions
  2913. * If a return instruction is detected on code, Mode is set to Create and return type set to void
  2914. * Fixes:
  2915. * Fixed Undo issue with property type nodes auto-register option
  2916. * Fixed issue on calculation view direction on tangent space over templates
  2917. v1.5.1 dev 02:
  2918. * Fixes:
  2919. * Fixed issue with 'Standard Surface Light' not taking Normal Space option into account
  2920. * Fixed minor issue over 'Outline' node
  2921. * Fixed issue on Undo not resetting correctly ports internal values
  2922. * Fixed issue on incorrectly assigning main output node status into copy-pasted 'Function Output' nodes
  2923. * Improvements:
  2924. * Added custom attributes to 'Static Switch' node
  2925. * Custom Material Inspector now properly copies texture scale and offset values
  2926. v1.5.1 dev 01:
  2927. * Fixes:
  2928. * Fixed 'Static Switch' node not properly generating Enum code in the correct order
  2929. * Fixed normal generation issue on 'Standard Surface Light' node
  2930. * Fixed issue when attempting to load shader using inexistent template on project folder
  2931. * Now fall-backing to Standard Surface when template is not found
  2932. * Fixed issue capturing properties with attributes on templates
  2933. * Fixed incorrect tool-tip on 'Template Multi-Pass Switch' node
  2934. * Fixed issue on normal generation over 'Fresnel' node
  2935. * Fixed initialization issue on Default UI template
  2936. * Fixed issue with accessing uninitialized textures on 'Triplanar Sample' node
  2937. * Fixed preview issue on 'Template Parameter' node
  2938. * Fixed issue locking picker on texture type nodes to current type when auto-cast is on
  2939. * Improvements:
  2940. * Improved 'Break To Components' generated code
  2941. * Preventing duplicates/re-definition of Pragmas, Defines and Includes over templates
  2942. v1.5.0 dev 02:
  2943. Fixes:
  2944. * Fixed issue on template capturing commented properties
  2945. * Fixed multiple issues over templates with multiple sub-shaders
  2946. * Fixed issue on master nodes attempting to access uninitialized UI texture
  2947. * Fixed issue with sometimes not extracting the correct pass name from template
  2948. * Fixed issue on incorrectly catching shader name on fetching modules info
  2949. * Fixed issue with correctly setting the shader name
  2950. v1.5.0 dev 01:
  2951. * New Samples:
  2952. * SRP Lightweight GlintSparkle
  2953. * SRP Lightweight Coverage
  2954. * Fixes:
  2955. * Fixed issue on loading shader with missing shader functions
  2956. * Fixed issue on duplicate pragmas over generated shader
  2957. * Fixed issue with template post processor not correctly registering new templates
  2958. * Fixed issue on template output nodes modules incorrectly sharing foldout value
  2959. * Fixed Undo issue when undoing deleted property type nodes after saving shader
  2960. * Fixed 'Static Switch' node registering duplicates in the material properties group
  2961. * Improvements:
  2962. * Reorganized samples shader paths
  2963. * Reorganized template menu items
  2964. * Canvas and output node title now shows shader name without relative paths
  2965. * 'Register Local Var' node now generates a new name when duplicated
  2966. * 'Indirect Diffuse Light', 'Indirect Specular Light' and 'Light Attenuation' nodes now work on templates
  2967. v1.4.5 dev 04:
  2968. * New features:
  2969. * Added support for multi-pass templates
  2970. * Added support for Lightweight Scriptable Rendering Pipeline
  2971. * New Shader Function:
  2972. * Create Normal : Generates a normal map from a height map
  2973. * New Template:
  2974. * LightweightSRP
  2975. * Fixes:
  2976. * Fixed texture coordinates generation in templates
  2977. * Changed initialization in 'Triplanar Sample' node to prevent null pointer errors
  2978. v1.4.5 dev 03:
  2979. * Improvements:
  2980. * Exposed Specular Color property into the Output node material list when Blinn Phong Light Model is selected
  2981. v1.4.5 dev 02:
  2982. * Fixes:
  2983. * Fixed Auto-Register option not being saved for property type nodes
  2984. * Fixed issues with generated normalized screen position values over templates
  2985. * Improvements:
  2986. * Cull, Stencil, Color Mask and Depth options can now reference properties instead of standard options
  2987. * Redone visuals of property type nodes Attributes list to be easier to use
  2988. * Added new Enum and Custom attributes to property type nodes
  2989. * Enum on Create Enum mode creates an Enum attribute using the specified Name/Value pairs
  2990. * Enum on Use Engine Enum Class mode creates an Enum attribute from the specified class
  2991. * Custom attribute allows to specify completely custom attributes
  2992. * Outline now forces shader to be Forward only to prevent visual inconsistencies
  2993. v1.4.5 dev 01:
  2994. * New Shader Function:
  2995. * Constant Bias Scale
  2996. * Fixes:
  2997. * Fixed null pointer issue with removing connections with Alt key
  2998. * Fixed issue on 'Template Local Var' node only working on fragment function
  2999. v1.4.4 dev 06:
  3000. * Fixes:
  3001. * Fixed issue on 'Texture Sample' nodes not automatically setting the texture type on AUTO
  3002. * Fixed connection type mismatch after CTRL + swap shortcut
  3003. * Fixed issue on 'Dither' node
  3004. v1.4.4 dev 05:
  3005. * Fixes:
  3006. * Fixed multiple Undo issues on shader functions
  3007. * Fixed serialization issue with both nodes and graph when hitting Unity play button
  3008. v1.4.4 dev 04:
  3009. * Fixes:
  3010. * Fixed issue on Specular Highlights and Reflection toggle not being read/written into shader meta
  3011. * Fixed issue on not correctly taking templates global variables into account when building shader
  3012. * Fixed issue where 'Triplanar Sample' node wasn't being initialized properly
  3013. * Fixed Undo issues on create/delete nodes
  3014. * Fixed Undo issues on preview node resizing
  3015. * Improvements:
  3016. * Added new Enum Property Attributes for both 'Float' and 'Int' nodes
  3017. * Added new Keyword Enums option to 'Static Switch' node Type option
  3018. * Improved its interface to better accommodate new options
  3019. * Added new keywords to 'Static Switch' Keyword dropdown
  3020. * Increase max port count for 'Function Switch' node to 9
  3021. * Added/Changed shortcuts for various nodes
  3022. * R - Create 'Register Local Var' node
  3023. * G - Create 'Get Local Var' node
  3024. * Z - Create 'Swizzle' node
  3025. * X - Create 'Cross' product node
  3026. * Period(.) - Create 'Dot' product node
  3027. * B - Create 'Break to Components' node
  3028. * K - Create 'Component Mask' node
  3029. * V - Create 'Append' node
  3030. v1.4.4 dev 03:
  3031. * New Sample:
  3032. * Skybox - Cubemap Extended by Cristian Pop
  3033. * New Shader Functions:
  3034. * Step Antialiasing
  3035. * Create Orthogonal Vector
  3036. * Improvements:
  3037. * Node graph is now a ScriptableObject to better deal with automatic serialization
  3038. * Templates can now register and use local variables
  3039. * Use /*ase_local_var*/ before the variable declaration over the template
  3040. * Access the local variable through the new 'Template Local Var Data' node over the graph
  3041. * Added new Normal Space option into 'Standard Surface Light' node
  3042. * Optimized nodes port internal data usage
  3043. * Node tooltip no longer shown online link for shader function nodes
  3044. * Small optimizations to node previews
  3045. * Fixes:
  3046. * Fixed function registry on 'Custom Expression' node to correctly deal with dependencies
  3047. * Fixed issue on linear textures over the texture creator tool
  3048. * Fixed issue where the editor was being called on play mode but no window was present
  3049. * Fixed issue on texture coordinates of different sizes being created with the same name
  3050. v1.4.4 dev 02:
  3051. * Fixes:
  3052. * Fixed issue on templates where vertex normal was being declared as a float4 on vertex data
  3053. * Fixed PS4 issue on billboards generated code
  3054. * Updated Orientation Based Sprite sample to include fix
  3055. * Improvements:
  3056. * Changed texture array creator to support compressed formats
  3057. * Added custom inspector for texture arrays to allows previewing their contents on the inspector window
  3058. * Added new Set Unique option into 'Custom Expression' node
  3059. * If toggled off, generated internal function doesn't use unique id on its name
  3060. v1.4.4 dev 01:
  3061. * Improvements:
  3062. * Custom Pragmas, Includes and Defines are now also included on the Outline pass
  3063. * Automatically removing crlf from copy-pasted code over the 'Custom Expression' node
  3064. * Custom Render Type can now be specified on the Render Type dropdown over the Output node properties
  3065. * Fixes:
  3066. * Fixed issues on 'Remainder' node
  3067. v1.4.3 dev 05:
  3068. * Fixes:
  3069. * Fixed issue on excluding Add Pass independently of Debug port connection
  3070. v1.4.3 dev 04:
  3071. * New Shader Function:
  3072. * Radial UV Distortion
  3073. * Sample with the same name was also added to demonstrate its usage
  3074. * Fixes:
  3075. * Fixed multiple issues related to Debug port usage on Output node
  3076. * It now works as a custom lighting port instead of emission
  3077. * Fixed issue on incorrectly opening standard materials into ASE
  3078. * Fixed issue on duplicate local variable creation when using 'Parallax Mapping' node on shader functions
  3079. v1.4.3 dev 03:
  3080. * Fixes:
  3081. * Fixed issue on 'Vertex Tangent' node internally outputting float4 data in templates instead of float3
  3082. * Fixed shader function category typos
  3083. * Fixed issue on ports accessing already destroyed nodes for previews
  3084. * Fixed issue on precision type used in shader functions
  3085. * Improvements:
  3086. * Added ZWrite and ZTest options to 'Outline' node
  3087. v1.4.3 dev 02:
  3088. * Improvements:
  3089. * Shader tags can now be modified on templates based shaders
  3090. * Added new Particle Additive option on Blend RGB and Blend Alpha dropdown
  3091. * Sets Source to 'Source Alpha' and Destination to 'One'
  3092. * Added new options to 'Shade Vertex Lights' node
  3093. * Can now select amount of lights to take into account and if as spot or point light
  3094. * Fixes:
  3095. * Fixed issue on incorrectly indented code generated by some nodes on template shaders
  3096. v1.4.3 dev 01:
  3097. * New Samples:
  3098. * Orientation Based Sprite
  3099. * UI Sprite FX
  3100. * New Shader Function:
  3101. * Box Mask
  3102. * UI-Sprite Effect Layer
  3103. * Fixes:
  3104. * Fixed issue on attempting to deactivate destroyed nodes
  3105. * Improvements:
  3106. * Updated Sprite and UI templates to better support normal maps
  3107. * Changed way logic is updated in some nodes to be more consistent and work inside shader functions
  3108. v1.4.2 dev 06:
  3109. * Fixes:
  3110. * Fixed incorrect wire highlighting caused by 'Register Local Var' node
  3111. * Fixed issue with 'Texture Sample' node not generating proper UVs in specific cases when using templates
  3112. * Minor UI and refresh fixes to 'Function Switch' node
  3113. * Fixed issue on incorrectly loading SimpleTerrain sample
  3114. * Fixed issue on unnecessary loading when opening a changed shader or function
  3115. * Improvements:
  3116. * Added compatibility with Unity 2018
  3117. * For now 'Substance Sample' node is unavailable on this version
  3118. * Substance example is now inside a unity package to prevent sbsar importing error
  3119. * Removed Substance and API update warnings on Unity 2017
  3120. * Added new Vertex Position input port into 'Surface Depth' and 'Camera Depth Fade' nodes
  3121. * Can now take custom vertex positions into account
  3122. * Added some minor improvements into 'Register Local Var'/'Get Local Var' node usage
  3123. * 'Register Local Var' node is now highlighted if one of its 'Get Local Var' nodes are selected
  3124. * 'Register Local Var' node now lists and can focus each 'Get Local Var' which uses it
  3125. * Added reference capabilities to 'Function Switch'
  3126. * One node can now control different paths of a shader function graph
  3127. v1.4.2 dev 05:
  3128. * Fixes:
  3129. * Fixed Undo issues with connections created/deleted by drag + Alt
  3130. * Fixed issue on templates vertex local variables when using 'Vertex To Fragment' node
  3131. * Fixed bug where 'Function Switch' node options were being incorrectly saved which caused a crash on load
  3132. * Fixed shader 'Function Switch' node options not being correctly ordered all the time
  3133. * Fixed connection signal detection to make 'Function Switch' nodes know when to turn on
  3134. v1.4.2 dev 04:
  3135. * New Node:
  3136. * Function Switch
  3137. * Node specific to shader functions which allows switching options at compile time on them
  3138. * New Shader Function:
  3139. * Flipbook
  3140. * Improvements:
  3141. * Changed switch type nodes port order to match 'Function Switch' and maintain consistency
  3142. * Fixes:
  3143. * Fixed issue on duplicated functions when both outline and shadow caster passes are active
  3144. * Fixed issue with calculating label size for nodes
  3145. * Fixed UI issue when not being able to read depth info from template
  3146. v1.4.2 dev 03:
  3147. * Improvements:
  3148. * Added Depth module into templates
  3149. * Minor improvement on Four Splats First Pass Terrain shader function
  3150. * Minor improvement on TerrainSnowCoverage and SimpleTerrain samples
  3151. * Added preview and access to internal data into 'HSV To RGB' and 'RGB To HSV' nodes
  3152. * Added preview to 'If' node
  3153. * Added new Normalize option into 'World Normal' and 'World Reflection' nodes
  3154. * 'Outline' node now supports transparency and mask operations through the new Alpha Mode option
  3155. * An additional depth pass can be added via the new Extra Depth Pass option on the Output Node properties
  3156. * Property nodes can now register its properties/global variables without being connected to Output node
  3157. * Done via the new Auto-Register option
  3158. * Fixes:
  3159. * Fixed minor issue on 'Rotate About Axis' node UI
  3160. * Fixed issue with 'World Reflection' node on templates
  3161. v1.4.2 dev 02:
  3162. * Improvements:
  3163. * 'Toggle Switch' node can now share properties
  3164. * Added lock button to property name on property type nodes
  3165. * Allows to customize the internal variable name used
  3166. * Added support for 'View Dir' node on templates
  3167. * Added preview position selection to shader functions to further customize function nodes
  3168. * Fixes:
  3169. * Fixed issue where custom shadows were ignoring vertex colors
  3170. * Fixed issue on 'Fresnel' node using a non-normalized normal vector
  3171. * Small fix on 'Static Switch' node getting and setting values from the material
  3172. v1.4.2 dev 01:
  3173. * Improvements:
  3174. * Lowered Shader Model target of Custom Lighting Toon example to be compatible with MacOs
  3175. * Improved generated code for 'Grab Screen Color' and 'Grab Screen Position' nodes
  3176. * Changed automatic generation of 'Grab Screen Color' node to make sure normalization is happening only once
  3177. * Added a toggle on 'Grab Screen Color' node which chooses if it normalizes/projects the input or not (default OFF)
  3178. * Fixes:
  3179. * Fixed issue on generating default values for shader functions
  3180. * Fixed issue on normal generation with the following nodes:
  3181. * 'Fresnel'
  3182. * 'Indirect Specular Light'
  3183. * 'World Reflection'
  3184. v1.4.1 dev 02:
  3185. * New Nodes:
  3186. * Decode Depth Normal
  3187. * Encode Depth Normal
  3188. * Improvements:
  3189. * Added internal data into shader functions
  3190. * If inputs are unconnected is now possible to change the default value from its node property panel
  3191. * Property type nodes can now keep material value when not connected to an Output node
  3192. * Tweaked 'Static Switch' node properties
  3193. * Initial opened tab on property nodes depends on material mode
  3194. * Fixes:
  3195. * Fixed issue on 'Custom Expression' node when using out variables in Call mode
  3196. * Preventing 'Commentary' node from generating infinite loops when copy-pasted
  3197. * Fixed issue with incorrect refresh call order on pasted nodes
  3198. * Fixed issue on nodes are not being correctly nested into their parent 'Commentary' node when copy-pasted
  3199. * Fixed issue on 'Toggle Switch' node not updating port names correctly after loading
  3200. * Fixed focus issue on pickers with Mac
  3201. v1.4.1 dev 01:
  3202. * Fixes:
  3203. * Fixed issue on 'Texture Sampler' node getting incorrectly configured on load
  3204. * When default texture type different from material texture type
  3205. v1.4.0 dev 06:
  3206. * New Samples:
  3207. * Simple Terrain
  3208. * Terrain Snow Coverage
  3209. * Custom Outline Toon
  3210. * New Nodes:
  3211. * Rotate About Axis
  3212. * Outline
  3213. * New Shader Functions:
  3214. * Four Splats First Pass Terrain
  3215. * Improvements:
  3216. * Tweaked 'Scale And Offset' node behavior
  3217. * Added Defines tab into Output node properties
  3218. * Preventing possible compilation errors on Experimental .NET 4.6
  3219. * Fixes:
  3220. * Fixed issue on 'Texture Sampler' node not previewing a connected 'Texture Object' node
  3221. * Fixed issue on texture picker not working correctly on texture nodes
  3222. * Fixed incorrect version reading Convert To Linear parameter at 'Screen Depth' and 'Depth Fade' node
  3223. * Fixed issue on duplicate UV Set on 'Texture Sampler' node when connected to a 'Texture Object'
  3224. * Fixed issue shader function inputs and outputs getting lost when re-focusing on them by double clicking the shader function node
  3225. * Fixed issue on 'Custom Expression' node name editing on node body
  3226. v1.4.0 dev 05:
  3227. * Fixes:
  3228. * Fixed issue on shadow caster for legacy samples:
  3229. * Matcap
  3230. * Parallax Mapping Iterations
  3231. * Reflect Refract Soap Bubble
  3232. * Screen Space Curvature
  3233. * Fixed typo in 'Toggle Switch' node
  3234. * Fixed issue on incorrectly accessing port through array id instead of unique id
  3235. * Fixed issue on deprecated internal data not being correctly read into new 'Append' node
  3236. * Improvements:
  3237. * Up and Down arrow keys can now change the focus of the node element in the context palette search similar to the Tab key
  3238. v1.4.0 dev 04:
  3239. * New Samples:
  3240. * Animated UV Distortion
  3241. * Fixes:
  3242. * Fixed issue on a shader function node crashing when its corresponding asset is not found
  3243. * Fixed issue on applying Undo on Material Inspector not being caught by ASE canvas
  3244. * Fixed issue on 'Float' node slider not being registered on Undo stack
  3245. * Fixed issue on generating duplicate function names at 'Noise Generator' node
  3246. * Fixed issue on returning to from a shader function to a main graph using with that shader function selected
  3247. * Improvements:
  3248. * Added new Variable Mode property into property nodes when their type are not Constant
  3249. * Create Mode, this is the current option on which an uniform variable is always created when the node is analyzed
  3250. * Fetch Mode, assumes that this variable is already declared elsewhere, p.e. an external lib and doesn't declare it
  3251. * When Property Type is selected, the property declaration is still created
  3252. * Added explicit call to both Thread and CultureInfo system classes to avoid conflicts with user classes without proper namespace
  3253. * Shader function's input and output ports maintain correct connections after being internally re-ordered
  3254. * Automatically adding spaces into camelcase'd shader function node titles
  3255. v1.4.0 dev 03:
  3256. * Improvements:
  3257. * Added validity check on Output and Input data types
  3258. * Improved color code request for ports
  3259. v1.4.0 dev 02:
  3260. * New Shader Functions:
  3261. * Compute Filter Width
  3262. * Improvements:
  3263. * Explicitly calling System.Globalization on TextInfo usage to avoid compilation errors
  3264. * Added custom pragmas for shader functions
  3265. * Updated Vertex Normal Reconstruction sample
  3266. * Added Reflection and Specular Highlight toggles into the Rendering Options group that mimic Unity's Standard
  3267. * Added ToggleOff option to 'Static Switch' node which should now allow the creation of OFF toggles
  3268. * Fixes:
  3269. * Fixed issue of properties not being properly ordered if their material property group wasn't open
  3270. * Blend modes now update properly even if group is collapsed
  3271. v1.4.0 dev 01:
  3272. * Fixes:
  3273. * Fixed issue with 'World Space Light Pos', 'World Space Light Dir' and 'Object Space Light Dir' nodes
  3274. * Fixed issue on 'Texture Coordinates' node forcing a sampler to be picked even when none was selected
  3275. * Fixed issue on 'Indirect Diffuse Light'node ignoring the tangent space normal completely
  3276. * Small fix to shader functions so they can refresh their custom include list properly on change
  3277. * Improvements:
  3278. * Added node previews for 'Light Attenuation' and both Indirect Light nodes
  3279. * Added explicit call to Unity Editor ShaderUtil on Material Inspector to prevent class issues
  3280. * Added Dependencies List on the Output Node properties
  3281. v1.3.9 dev 03:
  3282. * New Nodes:
  3283. * 'Projector Matrix'
  3284. * 'Projector Clip Matrix'
  3285. * 'Texture Transform'
  3286. * Improvements:
  3287. * Properties can be re-ordered on Template shaders
  3288. * Cull, Blend Mode, Blend Ops, Color Mask and Stencil Buffer data can be read and modified on Template shaders
  3289. * Added new custom Time port into 'Flipbook UV Animation' node
  3290. * Templates no longer need /*ase_pass*/ tag to be declared
  3291. * Adding UnityEngine.Object redundancy on its usage to prevent issues with other plugins
  3292. * Outline can now take fog into account
  3293. * Fixes:
  3294. * Fixed issue on shader function headers being placed last on shader property list
  3295. v1.3.9 dev 02:
  3296. * Fixes:
  3297. * Additional fix on custom colored categories
  3298. v1.3.9 dev 01:
  3299. * Fixes:
  3300. * Fixed issue with 'Texture Coordinates' node not generating proper code for sizes bigger than float2
  3301. * Fixed issue on reading old shaders data into new ASE versions
  3302. * Fixed issue on custom colored categories
  3303. * Improvements:
  3304. * Updated various samples that were still compiled on older ASE versions
  3305. * ASE window now loses text focus when losing its focus to prevent UI issues
  3306. * Added proper Texcoord support in custom shadow caster
  3307. * Added new toggle on 'Screen Depth' and 'Depth Fade' nodes to disable conversion from log to linear space
  3308. * Important for Orthographic camera projections where Depth Buffer values are already stored in linear space
  3309. v1.3.8 dev 02/03:
  3310. * Improvements:
  3311. * Added new custom lighting port and migrated the emission connection to this port
  3312. * Now custom lighting display both albedo and emission to be used in baking
  3313. * 'Function Input' and 'Function Output' names can be edited through node body
  3314. * Fixes:
  3315. * Fixed indentation issue on some templates generated code
  3316. * Fixed issue in texture property that would forget it's auto cast type on load
  3317. * Fixed issue on 'Triplanar Sample' node being initialized with incorrect internal tiling value
  3318. * Fixed issue on screen position for 'Dither' node
  3319. * Now it changes the screen position interpolator globally to make it work on the shadow caster
  3320. v1.3.8 dev 01 ( the same as v1.3.7 dev 07 but bumped version for Asset Store release ):
  3321. * Improvements:
  3322. * Added Shader Function previews
  3323. * Improved node list update on current focused window when renaming a shader function
  3324. * Fixes:
  3325. * Fixed issue on tabs node list not being updated with shader function renaming
  3326. * Fixed issue with opacity mask not working correctly in custom lighting mode
  3327. v1.3.7 dev 05/06:
  3328. * New Shader Functions:
  3329. * Half Lambert Term
  3330. * Blinn-Phong Light
  3331. * Fixes:
  3332. * Fixed issue with setting the proper canvas mode when load the shader or the editor window on hotcode reload
  3333. * Fixed issue with shader function titles not supporting hyphen characters
  3334. * Fixed issue on not refreshing shader function include files on load
  3335. * Fixed issue on shader function tab name not being renamed when its file is renamed from the editor
  3336. * Fixed 'Texture Sampler' node preview when in reference mode
  3337. * Fixed stack overflow crash with pasting 'Commentary' nodes
  3338. * Improvements:
  3339. * Premultiplied options now multiply RGB values with Alpha when in custom lighting mode
  3340. * Shader Functions are now loaded by guid and fallback to name search method if load fails
  3341. * Added custom categories for shader functions
  3342. * Recompiled existing shader functions to account for new categories
  3343. * Improved 'Triplanar Sample' node texture array support
  3344. * Now allows different index for each texture when doing triplanar in cylindrical mode
  3345. * Area from picking inputs from connections now only take the port icon into account and only include the label when dropping the connection
  3346. * Added preview for 'Static Switch' node
  3347. v1.3.7 dev 04:
  3348. * Fixes:
  3349. * Fixes issue on Shader Function includes
  3350. v1.3.7 dev 03:
  3351. * Fixes:
  3352. * Fixed issue on custom lighting nodes not compiling correctly when inside a shader function
  3353. * Fixed dithermask being declared when not in use
  3354. * Fixed texture array support with 'Triplanar Sample' node generating index code inside the function instead of outside of it
  3355. * Fixed issue with 'Append' node preview
  3356. * Improvements:
  3357. * Replacing '\' with '/' instead of removing it when writing Additional Include path names
  3358. * Added Additional Include list into shader functions
  3359. v1.3.7 dev 02:
  3360. * Fixes:
  3361. * Fixed issue with 'Texture Coordinates' node not generating local variables correctly
  3362. * Fixed issue with Refraction port not correctly working with Tessellation
  3363. * Fixed issue on applying vertex offset in certain Templates
  3364. * Fixed cast and per channel operation issues on remaining blends on 'Blend Ops' node
  3365. * Fixed issue on Soft Light Blend Op on 'Blend Ops' node
  3366. * Fixed issue of Shader Function nodes not propagating data when generating code
  3367. * Fixed focus issues when adding new items on Additional Includes, Pragmas, Sub-Shaders Tags and 'Custom Expression' node tools
  3368. v1.3.7 dev 01:
  3369. * Fixes:
  3370. * Fixed 'Fmod' node issue with Int type connections
  3371. * Small fix to the path button in the new Texture Array Creator tool
  3372. * Improvements:
  3373. * Adding fallback when searching template by guid fails
  3374. v1.3.6 dev 01:
  3375. * Fixes:
  3376. * Fixed error when setting previews for texture related nodes
  3377. * Improvements:
  3378. * Improved cubemap support into texture related nodes
  3379. * Removing Texture 0-3 and Scale Matrix options from 'Common Transform Matrices' node
  3380. * Major rewrite for 'Triplanar Sample' node to make it easy to extend on the future
  3381. * Small performance increase to 'Triplanar Sample' node
  3382. * Deprecated nodes:
  3383. * 'Texture 0 Matrix'
  3384. * 'Texture 1 Matrix'
  3385. * 'Texture 2 Matrix'
  3386. * 'Texture 3 Matrix'
  3387. * 'Scale Matrix'
  3388. v1.3.5 dev 02:
  3389. * New Tool:
  3390. * Added Texture Array Creator tool
  3391. * Available at Window > Amplify Shader Editor > Texture Array Creator
  3392. * Fixes:
  3393. * Fixed Undo not being able to recover some nodes
  3394. * Improvements:
  3395. * Changed Custom Material Inspector to be able to set and show custom meshes in it's Preview
  3396. * Template Data nodes now expand individual channels if data selected is from vector/color type
  3397. * Expanded individual channels ports on:
  3398. * 'Object Space Light Dir'
  3399. *'World Space Light Dir'
  3400. * 'World Space Camera Pos'
  3401. * 'Position From Transform'
  3402. * 'Vector From Matrix'
  3403. v1.3.5 dev 01:
  3404. * New Shader Functions:
  3405. * Blinn-Phong Half Vector
  3406. * Fixes:
  3407. * Fixed issue on 'Toggle Switch' node not being correctly registered when created
  3408. v1.3.4 dev 02:
  3409. * Fixes:
  3410. * Fixed issue on text fields in nodes picking up values from other text fields in the editor
  3411. * Fixed cast issue on 'Flipbook UV Animation' node
  3412. * Fixed issue on creating sampler wire nodes
  3413. * Small fix for resize buttons of 'Comment' nodes
  3414. * Small fix to focus and select search text in the context menu not happening in specific situations
  3415. * Fixed issue with 'Object To View Pos' local variable
  3416. * Fixed 'Triplanar Sample' node normal mode signs in certain situations
  3417. * Fixed issue on adding the same grab pass declaration multiple times
  3418. * Fixed issue on incorrectly getting separate channels from transform nodes after local variables are created
  3419. * Fixed issue on duplicate uniforms with some templates
  3420. * Fixed issue where shader function properties were resetting after every save
  3421. * Improvements:
  3422. * Locking blend type nodes from sampler and matrix type connections
  3423. * Expanded 'Object To View Pos' vector output vector into individual ports
  3424. * Changed 'Triplanar Sample' node base UV direction to match unity terrain
  3425. * Expanded vector ports for 'Object Space View Dir' and 'World Space View Dir'
  3426. * 'Lerp' node now converts int types in the alpha input port to float types to prevent errors
  3427. v1.3.4 dev 01
  3428. * Fixes:
  3429. * Fixed issue with Opacity Mask port incorrect type
  3430. * Fixed issue with incorrectly saving/loading multilines state in editor prefs
  3431. * Fixed issue on not being able to create relays on texture type connections
  3432. v1.3.3 dev 01:
  3433. * Fixes:
  3434. * Fixed multiple issues with 'Append' node behavior
  3435. * Fixed null pointer exception when Shift + Tabbing helper window
  3436. * Fixed duplication error on UV generation code
  3437. * Improvements:
  3438. * Added Alpha To Coverage option ( tied to Opacity port being active )
  3439. * Opacity Mask now only generates code if connected
  3440. * Blend ops defaults are now OFF instead of ADD
  3441. * Blend ops now pick the respective refined options when a specific blend mode is selected to make it easy to switch between them and the custom option ( opaque doesn't change anything )
  3442. v1.3.2 dev 04/05:
  3443. * Fixes:
  3444. * Fixed Asset Post Processor issue with Templates renaming
  3445. * Fixed middle clicking on reference preview focusing on referenced node
  3446. * Fixed graphic glitch on 'Static Switch' node button
  3447. * Fixed issue with copy/pasting nodes taking incorrect property names
  3448. * Fixed issue on 'Toggle Switch' incorrectly being read from older ASE versions
  3449. * Minor fix on 'Object To Clip Pos' node
  3450. * Fixed Undo issue with pasted property nodes
  3451. * Fixed issue with duplicate local variables on templates when having multiple ports from the same category
  3452. * Improvements:
  3453. * Minor visual tweak on 'Standard Surface Light' node
  3454. * Removed dependencies on custom shader inspector over the main ASE window so it can be removed by users
  3455. * Setting first vector port automatically invisible ( if unconnected ) on nodes representing Unity built-in parameters ( since they are never used as vectors )
  3456. * Improved custom template reader behavior
  3457. * Minor improvement on Undo node paste behavior
  3458. * Added Stencil Buffer Back and Front face options ( only visible when Culling is Off )
  3459. * Changed input ports number of connections and data type visualization to represent the data being transferred in each cast
  3460. * Improved crooked lines when nodes are too close to each other
  3461. * Added custom single line texture properties for when the texture is marked to not have scale and offset properties
  3462. v1.3.2 dev 03:
  3463. * Fixes:
  3464. * Fixed issue with 'Texture Sampler' node not taking procedural textures correctly into account
  3465. * Matrices can no longer be connected into 'Vertex To Fragment' nodes input port
  3466. * Fixed reordering issues with shader functions when these were updated
  3467. * Fixed rare compile issue where shader function headers were created but no property was present
  3468. * Fixed issue where view direction vector shader code was being generated with different precision types
  3469. * Fixed issue with Matrix nodes being able to choose its type as Property and add Attributes
  3470. * Fixed issue with Matrix nodes initial value not corresponding to internal draw data
  3471. * Fixed issue with Matrix3x3 not working correctly when its type was set as Global
  3472. * Fixed issue on function nodes generating local variables for Sampler data type variables
  3473. * Improvements:
  3474. * Activating internal data for tessellation nodes
  3475. * Minor tweak on vertex position data across all templates
  3476. * Preventing 'DDX' and 'DDY' nodes to generate code when in vertex function
  3477. * Removed Sampler data types as valid 'Custom Expression' output valid type
  3478. v1.3.2 dev 02:
  3479. * New Shader Functions:
  3480. * 'Bidirectional Parallax Mapping'
  3481. * Mimics iterative Parallax Mapping with reference plane
  3482. * 'Reconstruct World Position From Depth'
  3483. * New Samples:
  3484. * Added new Vertex Normal Reconstruction sample
  3485. * Fixes:
  3486. * Fixed issue with shader function nodes generating the same code multiple times
  3487. * Fixed issue with function input generating duplicated code
  3488. * Fixed issue with 'Texture Coordinates' node generating code in the vertex function when used inside a shader function
  3489. * Fixed issue on 'Texture Coordinates' node in templates not respecting the size of the Coord Size option
  3490. * Fixed issue on matrix multiplication via the 'Multiply' node not taking correct output type into account
  3491. * Minor fix on Search Bar positioning
  3492. * Recompiled Triplanar sample to be PS4 compatible
  3493. * Recompiled Translucency sample to be PS4 compatible
  3494. * Recompiled Hologram sample to be PS4 compatible
  3495. * Fixed compilation issue with Billboard generated code in PS4
  3496. * Fixed hot code reload issue with 'Template Parameter', 'Template Vertex Data' and 'Template Fragment Data'
  3497. * Fixed issue on 'Fresnel' node not read/writing new normal space option
  3498. * Fixed issue on 'Screen Position' node when used on Templates
  3499. * Improvements:
  3500. * Functions inputs now allow the use of node default graph trees supporting complex default operations
  3501. * Particle Alpha Blend template now uses a float4 on its TEXCOORD0 semantic both for vertex and interpolator data
  3502. * Added pragma tag into Default Sprites template
  3503. * Added port failsafe config into 'Texture Sample' node after reading all its internal data
  3504. * Making vector port invisible in Unity Parameters type nodes if not being used
  3505. * 'Component Mask' node only creates local variables if needed
  3506. * Multi-wire colored connections now active by default
  3507. * 'Fresnel' node now have Normal Space option set to Tangent by default
  3508. * Shader functions now display their description on its Inspector window
  3509. * Fixed 'Grab Screen Position' and 'Grab Screen Color' nodes for VR and updated the respective samples accordingly
  3510. v1.3.2 dev 01:
  3511. * New nodes:
  3512. * 'Camera To World Matrix'
  3513. * 'World To Camera Matrix'
  3514. * Fixes:
  3515. * Fixed issues with 'Toggle Switch' node
  3516. * It now properly creates a toggle property and lets user change material in the editor
  3517. * Fixed issue on vertex local variables not being registered correctly on custom lighting
  3518. * Precision selection on 'Grab Screen Color' node is no longer locked when Custom Grab pass is disabled
  3519. * Fixed issue with 'Depth Fade' node on OpenGL platforms
  3520. * Normalized screen position code now works properly in all platforms
  3521. * Fixed issue with 'Texture Array' node preview
  3522. * Fixed issue with 'Vertex To Fragment' node generating duplicated code
  3523. * Improvements:
  3524. * Added toggle button into 'Static Switch' node
  3525. * Improved wire auto-connection to node when its created from the context palette when dragging a wire
  3526. * Auto screen UVs from 'Grab Screen Color' node now also take Unity Single Pass Stereo into account
  3527. * Improved code generation on screen position related nodes
  3528. * Activating internal port data into 'Toggle Switch' node
  3529. * Updated Simple Blur and Simple noise examples to be fully android compatible
  3530. * Tweaked 'Desaturate' node to prevent issues with PS4
  3531. * Tweaked 'Parallax Occlusion Mapping' node to prevent issues with PS4
  3532. v1.3.1 dev 11:
  3533. * Fixes:
  3534. * Fixed incorrect UV variable name on Post-Process template
  3535. * Fixed Perforce integration again
  3536. * Fixed preview on 'Fresnel' node for the new tangent mode
  3537. * Fixed issue with 'Screen Position' subtitle
  3538. * Fixed issue with 'Vertex to Fragment' node on templates
  3539. * Improvements:
  3540. * Added two additional nodes to templates,'Template Vertex Data' and 'Template Fragment Data'
  3541. * These nodes allow direct access to vertex and interpolated fragment data from the template
  3542. * Adding vertex code entry tag into Post-Process template
  3543. * Improved fail-safe behavior on attempt to write vertex code on template with no vertex tag declared
  3544. * Minor tweaks on some nodes port names and order
  3545. * 'Dither' node now has a input port that allows the use of a custom dither pattern
  3546. * 'Vertex to Fragment' node no longer generates unnecessary code and now acts as a relay if connected to a vertex path
  3547. v1.3.1 dev 10:
  3548. * Fixes:
  3549. * Fixed cast issues on 'Smoothstep' node
  3550. v1.3.1 dev 09:
  3551. * Fixes:
  3552. * Multiple fixes on custom shadow caster
  3553. * Fixed issue on Templates Manager being incorrectly destroyed in some situations
  3554. * Fixed issue on Template data not being correctly synced when user changes its source code and returns to ASE
  3555. * Fixed issue where referenced 'Texture Sampler' nodes was not respecting the original property order
  3556. * Fixed issue on 'Grab Screen Color' node not using Unity default grab pass when selected to use it
  3557. * Fixed small issues on multiple examples
  3558. * Improvements:
  3559. * Added tangent space normals to 'Fresnel' node and removed the internal normal value from its properties
  3560. v1.3.1 dev 08:
  3561. * Fixes:
  3562. * Fixed issue on 'Simple Contrast' node
  3563. * Fixed boundaries issues on 'Dither' node
  3564. * Improvements:
  3565. * Minor tweak on 'Smoothstep' ports order
  3566. * Added new Color and Intensity ports into 'Light Color' node
  3567. * Minor overall optimizations on node previews
  3568. * Added preview for 'Substance Sample' node
  3569. * Added preview for 'Blend Operations'
  3570. * Added input port for automatic texture dithering into 'Dither' node
  3571. v1.3.1 dev 07:
  3572. * Fixes:
  3573. * Fixed issue on 'Simple Contrast' node ignoring Value internal data
  3574. * Fixed issue on nodes preview data not being written when its internal data is read from shader
  3575. * Fixed 'Texture Sampler' node to output a Color instead of Vector type
  3576. * Fixed 'Swizzle' node not detecting changes on its input ports
  3577. * Fixed issue on allowing invalid characters when typing a custom keyword on the 'Static Switch' node
  3578. * Improvements:
  3579. * Improved code generated by 'If' node and hides unused internal data
  3580. * Improved 'Rotator' node behavior
  3581. * Improved 'Panner' node behavior
  3582. * Added checkout for version control systems that need it to edit files like perforce.
  3583. * Changed labels and port order for various nodes in the Image Effects category to improve consistency
  3584. v1.3.1 dev 06:
  3585. * Fixes:
  3586. * Fixed issue on template output node attempting to access template data before its initialization is complete
  3587. * Fixed issue with validate/execute commands like duplicate on Mac
  3588. * Fixed issue on not updating correctly mouse position when doing multiple pastes/duplicates
  3589. * Fixed disappearing titles when selecting 'Register Local Var' nodes being used by 'Get Local Var' nodes located outside the visible graph area
  3590. * 'Toggle Switch' node now properly casts its main port type for both input ports
  3591. v1.3.1 dev 05:
  3592. * Fixes:
  3593. * 'Indirect Specular Light' and 'Indirect Diffuse Light' now compile properly in vertex functions but provide dynamic baking results only
  3594. * Changed mask clip variable name to be compatible with internal unity functions
  3595. * Fixed issue with texture arrays derivatives not being declared in 'Parallax Occlusion Mapping' nodes
  3596. * Fixed 'Texture Sample' node not changing cast mode automatically when in reference mode
  3597. * 'Lerp' node now works as the hlsl/cg specification and allows for component based interpolation
  3598. * Fixed issue on template native properties getting lost when hot code reloading
  3599. * Improvements:
  3600. * 'Get Local Var' nodes now get highlighted in green when their referenced 'Register Local Var' node are selected
  3601. * It should be now easier to spot how many and which nodes use a determined Register node, we intend to expand this idea to other similar cases
  3602. * 'Static Switch' now allows to use define symbols and material toggle is now optional
  3603. * 'Keyword Switch' is now deprecated (opening the shader in newer versions should replace it by 'Static Switch')
  3604. * 'Static Switch' and 'Grab Screen Color' nodes now show their node name in title but still allows to edit their variable by double clicking
  3605. * Reorganized toolbar buttons for consistency
  3606. * Showing internal value name at the node properties window when selecting a property on the 'Template Parameter' node
  3607. v1.3.1 dev 04:
  3608. * Fixes:
  3609. * Fixed issue with 'Static Switch' node duplicatnig code
  3610. * 'Static Switch' node now properly allows the use of the same keyword
  3611. * Fixed issue with Int ports generating black previews
  3612. * Fixed issue where 'Custom Standard Lighting' node was generating garbage code when connected multiple times
  3613. * Fixed dynamic baked lightmapping for 'Indirect Diffuse Light' node
  3614. * Default fallback is now only added if shader doesn't use it's own
  3615. * Improvements:
  3616. * Changed 'Template Parameter' node to mimic the same look from the equivalent property nodes
  3617. * Changed some labels and warning texts to be more clear on what's going on for texture objects
  3618. * Int port color now uses the same color as float nodes
  3619. * Added ASE custom inspector to the default templates
  3620. * Added support for Texture Arrays with 'Parallax Occlusion Mapping' node
  3621. v1.3.1 dev 03:
  3622. * New Features:
  3623. * Added custom pragmas support to the main property panel
  3624. * Fixes:
  3625. * Fixed issue with texture arrays when in reference mode creating multiple properties
  3626. * Fixed issue of 'Vertex To Frag' node not generating code in certain situations
  3627. * Fixed issue with 'World Reflection' node not generating code correctly in vertex functions
  3628. * Fixed issue of custom shadow caster not using the correct shader model
  3629. * Fixed issue with dynamic port nodes not updating correctly in some occasions
  3630. * Fixed issue of some nodes not properly using the selected precision type
  3631. * Matrix 3x3 port types now display properly in the node property panel and compile correctly
  3632. * Improvements:
  3633. * 'World Position' node now forces float precision
  3634. * Some more changes for the nodes subtitles for consistency
  3635. * Minor performance and GC improvements
  3636. v1.3.1 dev 02:
  3637. * Fixes:
  3638. * Fixed issue with 'World Normal' node not generating it's components values properly in some occasions
  3639. * Fixed issue with some parameters foldouts not displaying correctly and added a new context message for empty foldouts
  3640. * Improvements:
  3641. * Changed some subtitles prefixes to be more consistent about what they represent
  3642. * Changed dropdown icon to a less confusing and more intuitive one
  3643. * More editor performance improvements and reduction of GC in various places
  3644. v1.3.1 dev 01:
  3645. * Fixes:
  3646. * Fixed issue on copy-pasting custom lighting nodes
  3647. * Fixed issue on null pointer reference on preview material when hitting play mode
  3648. * Improvements:
  3649. * Added upper left widgets into several nodes to change important properties directly on node body
  3650. * Added secondary title into several nodes to show its current state directly from node body
  3651. v1.3.0 dev 03:
  3652. * Improvements:
  3653. * Completely refactored and changed the graph and node rendering to use a semi-MVC model
  3654. * Improves the overall performance in several orders of magnitude
  3655. * Various small visual fixes and improvements
  3656. * Various changes to prevent most memory allocations heavily reducing GC
  3657. * Changed zoom and auto-pan to a smooth version and fixed its auto-boundaries
  3658. * This should make the editor feel more snappy and responsive
  3659. * New object pickers for 'Substance Sampler' and 'Triplanar Sampler'
  3660. * New outline for selected Wire nodes
  3661. * Now is easier to see in all situations
  3662. * Various previews were added,improved or fixed
  3663. * 'Texture Sampler' nodes now properly display default values
  3664. * Tweaked Input Type labels on 'Custom Expression' nodes to match shader variable type names
  3665. * Custom Lighting nodes now show internal data and have additional Normal options
  3666. * Fixes:
  3667. * Fixed 'Texture Array' node issue when referencing an un-connected node
  3668. * Fixed UI issue on 'Custom Expression' qualifiers
  3669. * Fixed issue on shader name being overwritten when changing template
  3670. * Fixed issue on copy/cut/paste not being correctly caught by nodes search bar
  3671. v1.3.0 dev 02:
  3672. * Fixes:
  3673. * Fixed issue with Output Node Opacity Mask port not working with Custom Lighting
  3674. * Fixed errors with some nodes inside shader function
  3675. * Improvements:
  3676. * Improved internal file reader to be more robust in case of trying to load in-existent files
  3677. * Templates Manager can now also be initialized by its post processor in case of an ASE window is not open
  3678. * 'Blend Operations' node show current selected Blend Op on node body
  3679. * Locked Custom Light nodes from being used on Templates
  3680. v1.3.0 dev 01:
  3681. * New Features:
  3682. * Templates
  3683. * Create new shaders from already existing ones which serves as base/templates
  3684. * Fixes:
  3685. * Fixed issue on ports internal data not showing on 'Append' node
  3686. * Fixed infinite loop on 'Texture Coordinates' and 'Texel Size' nodes
  3687. v1.2.1 dev 02:
  3688. * Fixes:
  3689. * Fixed issues with previews on 'Multiply' node
  3690. * Fixed incorrect tooltip on 'Face' node
  3691. * Fixed issue on 'Standard Surface Light' node where GI wasn't correctly picking normals
  3692. * Fixed 'Texture Sampler' node not correctly generating code when connected to relays or shader functions
  3693. * Fixed issue on 'Texel Size' and 'Texture Coordinate' nodes when referencing nodes not connected to Master Node
  3694. * Improvements:
  3695. * 'Grab Screen Color' node now uses Unity default grab texture and allows overriding it like it's previous behavior
  3696. v1.2.1 dev 01:
  3697. * Improvements:
  3698. * Major refactor on all nodes categories and colors to improve consistency
  3699. * Added subtitle to 'Swizzle' and 'Component Mask' nodes to reflect their options
  3700. * Added configurable background color for 'Commentary' nodes
  3701. * Fixes:
  3702. * Fixed issue with lightmaps when using the 'Standard Surface Light' node on Custom Lighting Light Model
  3703. * Fixed issue on overwriting default texture values on 'Texture Sample' node when loading values from material
  3704. v1.2.0 dev 02:
  3705. * Improvements:
  3706. * Adding Call Mode into 'Custom Expression' node
  3707. * On this mode all code written into the Code area will be directly injected into the shader code without being assigned to a local variable
  3708. * The result written on the output port will be what is directly connected to the first input port ( named In ) which is not taken into account by the code expression. The In/Out pair will act as a simple relay.
  3709. v1.2.0 dev 01:
  3710. * Fixes:
  3711. * Fixed issue on generating UI exception when sometimes iterating between Search Node Bar results
  3712. * Fixed issue on Output node size increasing infinitely with shader name
  3713. * Fixed issue on incorrect serialization on 'Texture Sampler' node
  3714. * Improvements:
  3715. * Texture Object type nodes no longer auto-set the 'Texture Sampler' Normal Map option
  3716. * Normal Map option was renamed to Unpack Normal Map
  3717. * A warning is shown if a Texture Object marked as normal map is connected to a 'Texture Sampler' node with the Unpack Normal Map options turned off
  3718. v1.1.0 dev 13:
  3719. * Fixes:
  3720. * Fixed issue with reading incorrect legacy port info into 'Lerp' node
  3721. * Fixed issue on cycling through deleted nodes when using the Nodes Search Bar
  3722. * Fixed issue with incorrectly moving nodes nested into multiple 'Commentary' nodes
  3723. * Fixed issue on Undo not registering internal node movement on 'Commentary' nodes
  3724. * Fixed issue when using 'Virtual Texture Object' node on Vertex ports
  3725. * Fixed issue with incorrectly moving selected nodes while resizing side menus
  3726. * Improvements:
  3727. * 'Simple Contrast' node now always store its result on a local variable
  3728. * Greatly improved 'Commentary' node:
  3729. * You now can use box selection inside the node body
  3730. * You now can create Wire nodes by double clicking on a wire inside the node body
  3731. * You now select and drag the node via its header or by pressing anywhere on the node body having the Alt key down
  3732. * You now need to double click the node header to be able to modify its comment directly from there
  3733. v1.1.0 dev 12:
  3734. * Fixes:
  3735. * Fixed issue with creating legacy code for LOD Cross Fade on Unity v.2017 and above
  3736. * Fixed issue on 'Lerp' node not adjusting correctly when disconnecting input ports
  3737. * Fixing issue with node drag with snap
  3738. * Now done by having both Ctrl+Shift pressed
  3739. * Improvements:
  3740. * 'Blend Operations' node now automatically adapts to input ports
  3741. * Improving Search Bar focus behavior
  3742. v1.1.0 dev 11:
  3743. * Fixes:
  3744. * Fixed incorrect behavior on creating connections through Alt + Shift
  3745. * Fixed out of bounds exception caused by removing ports on shader functions
  3746. * Fixed issue with 'Triplanar Sampler' node not deleting correctly in some occasions
  3747. * Fixed ordering issues with Stencil Buffer example
  3748. * Improvements:
  3749. * Overall improvements on nodes descriptions
  3750. v1.1.0 dev 10:
  3751. * Fixes:
  3752. * Fixed new Billboard Ignore Rotation option incorrectly ignoring game object translation
  3753. v1.1.0 dev 09:
  3754. * Fixes:
  3755. * Fixed issue with deprecated nodes warning message throwing an exception on recent Unity versions
  3756. * Fixed 'Texel Size' node issues on Shader Functions
  3757. v1.1.0 dev 08:
  3758. * New Features:
  3759. * New 'Keyword Switch' node
  3760. * Improvements:
  3761. * Improved 'Lerp' and 'Clamp' nodes behavior
  3762. * Added new improved dynamic 'Append' node which adapts to inputs and deprecated the old one
  3763. * Billboards can now ignore object original rotation via its new Ignore Rotation toggle
  3764. * New Soft Light option was added to 'Blend Operations' node
  3765. v1.1.0 dev 07:
  3766. * New Features:
  3767. * Added support for Custom Subshader Tags on Output Node properties
  3768. * Fixes:
  3769. * Fixed issue with having 'Custom Expression' nodes with similar port names
  3770. * Improvements
  3771. * Small improvements on canvas zoom behavior
  3772. v1.1.0 dev 06:
  3773. * New Features:
  3774. * Added new nodes:
  3775. * 'World Transform Params'
  3776. * 'Vertex Bitangent'
  3777. * 'Vertex Tangent Sign'
  3778. * Improvements:
  3779. * Able to specify an HDR color on 'Color' node if the HDR attribute is set
  3780. * Added previews to nodes:
  3781. * Time
  3782. * Object Scale
  3783. * Improved how vertex data is being generated to prevent future issues
  3784. * Fixes:
  3785. * Fixed incorrect order of instruction write on 'Texture Coordinates' node
  3786. v1.1.0 dev 05:
  3787. * New Features:
  3788. * New 'Standard Surface Light' node ( exclusive to Custom Lighting Light Model )
  3789. * New Samples:
  3790. * Double Layer Custom Surface
  3791. * Fixes:
  3792. * Fixed issue with pasting nodes not refreshing external references from original ones
  3793. * Fixed issue with generating helper local variable ids on several nodes which may lead to issues on shader functions
  3794. * Fixed issue on 'Depth Fade' node
  3795. * Fixed issue with not registering sampler dummies correctly when using 'Texture Coordinates' node with Tessellation
  3796. * Fixed issue on multi-tabs with breaking all tabs except the focused one when dragging wires
  3797. * Improvements:
  3798. * Added previews to nodes:
  3799. *'World Space Camera Pos'
  3800. *'Object Space Light Dir'
  3801. *'World Space Light Dir'
  3802. *'Light Color'
  3803. *'Object To World'
  3804. *'World To Object'
  3805. v1.1.0 dev 04:
  3806. * Fixes:
  3807. * Fixed issue on 'Texture Coordinates' node generating wrong dummies on UV Sets different than 1
  3808. * Fixed issue on 'Register Local Var' node usage with shader functions
  3809. * Improvements:
  3810. * Setting Enable Instancing option default value to false
  3811. * Adding Exact Conversion option into 'Gamma To Linear' and 'Linear To Gamma' nodes for more accurate results
  3812. v1.1.0 dev 03:
  3813. * Fixes:
  3814. * Fixed issue on 'Pi' node
  3815. * Fixed issue on 'Texture Coordinates' node not generating unique names when used on vertex body
  3816. * Fixed issue with incorrectly counting amount of 'Virtual Texture Object' nodes on graphs
  3817. * Fixed issue on 'Texture Array' drawers
  3818. * Fixed issue on 'Remap' node preview preventing division by zero
  3819. * Improvements:
  3820. * 'Texture Array' node:
  3821. * Now work with shader functions
  3822. * Added derivative option to 'Texture Array' node
  3823. * Minor tweak on tooltip text
  3824. * New Features:
  3825. * New Community Node 'GlobalArray' submitted by Vincent van Brummen and created by Johann van Berkel
  3826. * Added new Enable Instancing toggle into Rendering Options to be able to activate instancing without having to use Property nodes
  3827. v1.1.0 dev 02:
  3828. * Improvements:
  3829. * 'Vertex TexCoord' and 'Swizzle' node types can be selected from node body
  3830. * Fixes:
  3831. * Fixed issue with 'Grab Screen Color', 'Get Local Var' and 'Texture Sample' nodes loosing references inside Shader Functions
  3832. * Fixed issue on not correctly registering all Grab Passes from multiple 'Grab Screen Color' nodes
  3833. * Fixed small issue on 'Commentary' node not being able to focus on comment text field when created
  3834. v1.1.0 dev 01:
  3835. * Fixes:
  3836. * Fixed issue with being able to open recently created shader multiple times
  3837. * Improvements:
  3838. * Added preview for 'Screen Position' node
  3839. * 'Append' output type can be selected from node body
  3840. * Small overall optimizations
  3841. v1.0.0 dev 12:
  3842. * Fixes:
  3843. * Fixed wrong casting issues on dynamic type nodes
  3844. * Fixed lost reference when deleting 'Grab Screen Color' node
  3845. v1.0.0 dev 11:
  3846. * New Features:
  3847. * Additional includes (.cginc) can now be used into an ASE shader via the Additional Includes sections on the Output node
  3848. * Their contents can be accessed via the 'Custom Expression' node
  3849. * Added Node Search bar to quickly find nodes on the canvas
  3850. * Ctrl + F: Shows Search Bar
  3851. * Enter/Return/F3: Goes to next occurrence
  3852. * Shift + (Enter/Return/F3): Goes to previous occurrence
  3853. * Escape: Hides Search Bar
  3854. * New samples:
  3855. * UV Light Reveal
  3856. * Fixes:
  3857. * Fixed issue on creating unnecessary casts from floats
  3858. * Fixed minor issue on GPU Instancing sample
  3859. * Fixed minor UI issues on 'Reflect' and 'Refract' nodes
  3860. * Fixing shader paths for Community Shaders
  3861. * Fixed issue on incorrect cast when using Floats and Ints in certain nodes
  3862. * Fixed issue on resetting in certain situations vertex local variables generated during Output Node fragment code generation
  3863. * Fixed issue on property name update in 'Grab Screen Color' node
  3864. * Improvements:
  3865. * Improved nodes local variables reset behavior to prevent future issues
  3866. * Added previews to 'Gamma To Linear' and 'Linear To Gamma' nodes
  3867. * Forcing 'Dot' and 'Normalize' nodes to store results in local value and prevent with power operations
  3868. v1.0.0 dev 10:
  3869. * Fixes:
  3870. * Fixed issue with temporary variable assignment Id on 'Texture Coordinates' node
  3871. v1.0.0 dev 09:
  3872. * New Features:
  3873. * New 'Static Switch' node which allows creation of shader variants
  3874. * Fixes:
  3875. * Fixed minor issue on reading inputs from dynamic 'Add' and 'Multiply' nodes on older shader versions
  3876. * Fixed issue on Parent Graph attempting to delete in-existent connections
  3877. * Fixed issue with always disabling Light Maps when using Tessellation
  3878. * Fixed issue with Texture Nodes reference drop down selector showing incorrect labels both on 'Texture Sampler' and 'Texture Coordinates' nodes
  3879. * Fixed issues on incorrect loosing references with 'Texture Sampler' node on Reference mode
  3880. * Improvements:
  3881. * Improved 'Append' node connection management
  3882. * Added Local Var selector directly on 'Get Local Var' node body
  3883. v1.0.0 dev 08:
  3884. * New Features:
  3885. * New Output node Rendering Options
  3886. * Disable Batching
  3887. * Ignore Projector
  3888. * Force No Shadow Casting
  3889. * Fixes:
  3890. * Fixed issue with new dynamic 'Add' and 'Multiply' nodes not registering port creation/destruction into Undo system
  3891. * Fixed issue on 'Grab Screen Color' node duplicating code
  3892. * Fixed issue with Opacity Mask port being incorrectly Enabled/Disabled on certain situations
  3893. * Fixed issue on 'Get Local Var' nodes getting wrong ids on certain situations when a 'Register Local Var' node is deleted
  3894. * Small fix to force property name update when changing type on property nodes
  3895. * Fixed issue where 'View Dir' node was generating code in the wrong space when in vertex function for both world space and tangent space
  3896. v1.0.0 dev 07:
  3897. * Fixes:
  3898. * Fixed name conflict on 'Custom Expression' node
  3899. * Fixed issue for both normal input in indirect lighting nodes that were asking from normal in world space instead of tangent space
  3900. v1.0.0 dev 06:
  3901. * New Features:
  3902. * Added LOD Cross Fade support for LOD groups ( located in the Output node Rendering Options tab )
  3903. * Improvements:
  3904. * 'Add' and 'Multiply' nodes can have more than 2 input ports ( max 10 )
  3905. * Minor improvements on several nodes
  3906. * Refraction port use Unity's grabpass by default so it can pick other refraction materials
  3907. * Avoiding possible compiler misunderstandings with System.Type calls
  3908. * Ensuring variables/functions created by custom expressions have unique names
  3909. * Auto enabling instance mode on material ( if on Unity 5.6 or above ) when detecting instance mode on ASE shader
  3910. * Improved zoom behavior
  3911. * Fixes:
  3912. * Fixed issue when remapping ports from very old shaders
  3913. * Fixed swizzle issue on 'Vertex Position' node
  3914. * Fixed matrix 'Invert' node
  3915. * Fixed SimpleGPUInstancing sample not fully batching on Unity 5.6
  3916. * Fixed opening a SF in more than one tab after creation
  3917. * Fixed header click to edit name when zoomed out
  3918. * Fixed both Commentary node side menus resize not following the mouse movement correctly
  3919. * New Shader Functions: ( AmplifyShaderEditor/Examples/Assets/ShaderFunctions )
  3920. * Simple HUE
  3921. * SphereMask
  3922. v1.0.0 dev 05:
  3923. * Fixes:
  3924. * Fixed issue with conditional 'If' node
  3925. * Fixed issue with 'Vertex Position' node swizzle in Local Vertex Ports
  3926. * Improvements:
  3927. * Caching instanced property nodes into local variables to prevent multiple UNITY_ACCESS_INSTANCED_PROP() on them
  3928. * Added support for samplers types into 'Custom Expression' node
  3929. v1.0.0 dev 04:
  3930. * Fixes:
  3931. * Fixed node drag and drop issue from palette
  3932. * Fixed issue with online reference button having a "too-large" click box
  3933. * Palette Menus now display the correct cursor on mouse hover
  3934. * Fixed clicking Enter on palette without selecting a node
  3935. * Changing lighting models should now show the error messages correctly
  3936. * Fixed issue of Custom Light nodes not loading properly
  3937. * Improvements:
  3938. * Added Per Renderer Data tag to Properties available Attributes
  3939. * Adding help box into 'Virtual Texture Object' with additional info
  3940. v1.0.0 dev 03:
  3941. * New Features:
  3942. * Custom Lighting
  3943. * New Nodes: ( can only be used on this light model )
  3944. * Indirect Diffuse Light
  3945. * Indirect Specular Light
  3946. * Light Attenuation
  3947. * New Samples:
  3948. * Custom Lighting Toon
  3949. * Fixes:
  3950. * Fixed issue when zooming with Alt + Right Mouse button
  3951. * Fixed issue with window not detecting graph type on Unity load
  3952. * Fixed issue on 'Debug Switch' node not loading properly
  3953. * Fixed issue on assigning invalid cultures when an error/exception occurred inside ASE
  3954. * Improvements:
  3955. * Context Palettes now allow Tab / Shift Tab to select between nodes instead of mouse selection (confirms with Return/Enter key)
  3956. * Added previews for 'Debug Switch' and 'Toggle Switch' nodes
  3957. * Added link to node documentation on its tooltip
  3958. * Small optimization on all nodes overall
  3959. * Preventing ASE to crash if some faulty class/dll is present on the project
  3960. v1.0.0 dev 02:
  3961. * Fixes:
  3962. * Preventing shadow caster error on using 'Vertex TexCoord' with 'Vertex Normal'
  3963. v1.0.0 dev 01:
  3964. * Fixes:
  3965. * Fixed issue on not recognizing Tessellation port correctly when at Lambert or BlinnPhong light models
  3966. * Fixed issue on dragging nodes via Alt mode not respecting ports unique ids when creating connections
  3967. * Fixed minor typo on 'Switch by Face' node
  3968. * Fixed minor issue when loading LoadPolyWater example
  3969. v0.7.2 dev 08:
  3970. * Fixes:
  3971. * Fixed issue generating input ports instructions on 'Custom Expression' node
  3972. v0.7.2 dev 07:
  3973. * New Features:
  3974. * Added support for multiple ASE windows opened simultaneously
  3975. * New Samples:
  3976. * Animated Fire with Shader Functions
  3977. * Improvements:
  3978. * Forcing InvariantCulture on ASE execution cycle to prevent issues with number parsing
  3979. * 'Texture Sampler' node no longer shows it's sampler properties when a 'Texture Object' node is connected to it
  3980. * Improved redundancy awareness on 'Virtual Texture Object' and 'Texture Sampler' nodes
  3981. * Improved 'Virtual Texture Object' tooltip
  3982. * Removed Return button from Shader Functions since it is now useless with new multi-tab behavior
  3983. * Fixes:
  3984. * Fixed issue on changing Normal map option in 'Texture Sampler' node not changing its output type
  3985. * Changed 'Virtual Texture Object' node channel name to 'Layer' and fixed its default value not showing up correctly
  3986. * Virtual textures now generate properties with their correct name (requires user changes to the virtual texture itself)
  3987. * Fixed issue that break compiling when a missing shader function was present
  3988. * Forcing internal data update for shader function Output nodes to prevent errors when they are disconnected
  3989. * Fixed small issue with shader function nodes being stuck on selection when double clicking on them
  3990. v0.7.2 dev 06:
  3991. * New Features:
  3992. * Added 'HSV To RGB' and 'RGB To HSV' nodes
  3993. * Improvements:
  3994. * 'Custom Expression' node with a return instruction on its Code text area generates a function with the code contents thus enabling multiple instructions lines on its body
  3995. * Added small info text on node properties to explain its behavior
  3996. * Added new name field ( can also be edited directly on node by double clicking on it ) which is used to name the generated function/ local variable
  3997. * Small refactoring on some classes for consistency and warning removal from Visual Studio
  3998. * Fixes:
  3999. * Fixed issue on some changes not being correctly caught on setting Blend Render Type
  4000. * Fixed issue with Unlit Light model doubling the value set on the Emission output port
  4001. * Small fix on title updates when using Shader Functions
  4002. * Removed warning from unused legacy source code on 'Register Local Var' and 'Get Local Var' nodes
  4003. * Fixed issues on incorrect casts on 'Texture Sampler' node
  4004. * Fixed issues on incorrectly snapping wires into hidden ports
  4005. v0.7.2 dev 05:
  4006. * Improvements:
  4007. * Changed tool tip display to trigger when mouse is on top of the node ( now displays below the node)
  4008. * Shader Functions
  4009. * Added default values for input node in SF (these are used when there's no connection)
  4010. * Added port restrictions to dynamic node types
  4011. * Changed way input node work with restrictions when changing type to prevent invalid connections
  4012. * Fixes:
  4013. * Fixed minor typo on 'Rotator' node
  4014. v0.7.2 dev 04:
  4015. * Fixes:
  4016. * Fixed multiple issues on save behavior when changing modes
  4017. * Fixed issue with shader functions not assigning the main node correctly
  4018. * Fixed issue on Project Window Change callback
  4019. * Fixed graph count increasing on shader switch
  4020. * Fixed version numbering in function nodes
  4021. * Fixed nested SF issue with inputs
  4022. v0.7.2 dev 03:
  4023. * Fixes:
  4024. * Fixed issue with 'Vertex TexCoord' not writing properties correctly into shader meta
  4025. v0.7.2 dev 02:
  4026. * Fixes:
  4027. * Fixed cast and port activation issues on Blend Nodes
  4028. * Fixed various issues with SF:
  4029. * Saving no longer deselects
  4030. * Reordering is now working properly
  4031. * Autocast now has port restrictions into account and deletes with warning when possible
  4032. * Sampler types no longer duplicate
  4033. * Improvements:
  4034. * Texture Objects node family can now be set as Globals
  4035. v0.7.2 dev 01:
  4036. * New Features:
  4037. * Added Shader Functions
  4038. * Added new 'Object Scale' node
  4039. * Fixes:
  4040. * Fixed multiple issues with Copy/Paste
  4041. * Fixed issues with nodes on Vertex Function
  4042. * 'Fresnel'
  4043. * 'Posterize'
  4044. * 'Heightmap Texture Blend'
  4045. * 'Unpack Scale Normal'
  4046. * Fixed issue with incorrect data read from 'Texture Coordinates' nodes on versions below 0.5.0 dev 003
  4047. * Fixed issue on inverted Receive Shadows toggle
  4048. * Improvements:
  4049. * Can Copy/Paste between different Shaders and Shader Functions
  4050. * Shader properties created by Refraction, Translucency, Mask Value and Tessellation now appear on the Output node Material Properties list and can be reordered
  4051. * Preventing UndoParentNode to generate DefaultValue conflicts caused by other plugins
  4052. * Removed warnings generated on some situations by the 'Screen Position' node
  4053. * New Samples:
  4054. * LowPolyWater by The Four Headed Cat
  4055. * ForceShield by The Four Headed Cat
  4056. v0.7.1 dev 02:
  4057. * Improvements:
  4058. * Improved 'Texture Coordinates' node and added new Tex input port into it
  4059. * Improved local variable usage on several node generated code to improve overall shader instruction count
  4060. * 'Vertex Position' node now has new Size property
  4061. * Fixes:
  4062. * Fixed issues on 'Vertex to Fragment' node
  4063. * Fixed issue on loading an ASE shader with its window already opened but tabbed and not visible during play mode
  4064. * Fixed multiple issues with 'Grab Screen Position' node usage on Vertex function
  4065. * Fixed issue with Forward Shadows not being correctly written when Custom Shadow Caster was active
  4066. * Fixed issues with Blend nodes usage on Vertex function
  4067. * Fixed issues with 'Dithering' node usage on vertex function and when Tessellation is active
  4068. * Fixed issues with 'Screen Depth' node usage on vertex function and when Tessellation is active
  4069. * Dithering sample now works while Tessellation is active
  4070. v0.7.1 dev 01:
  4071. * New Features:
  4072. * Alt + Node Drag to Auto-(dis)connect node on existing wire connection
  4073. * Improvements:
  4074. * Added new Tex Input Port into 'Texel Size' node
  4075. * Optimized nodes list usage on palettes (API)
  4076. * Improved retro-compatibility handling with adding new ports on already existing nodes (API)
  4077. * Fixes:
  4078. * Fixed issue on horizontal scroll bar not appearing on Helper Window
  4079. v0.7.0 dev 03:
  4080. * New Features:
  4081. * Added 'Face' node
  4082. * Added 'Switch by Face' node
  4083. * Fixes:
  4084. * Fixed issue on not setting shader version on graph when creating a new empty one which lead to copy/paste issues
  4085. * Fixed wrong port type assignment and incorrect conditional operator usage on community 'Compare ...' nodes
  4086. * Fixed issue with creating a material from a shader already with properties in Unity 5.6
  4087. * Fixed multiple UI issues on Retina MacBook
  4088. * New Samples:
  4089. * Highlight Animated by The Four Headed Cat
  4090. * 2 Sided by The Four Headed Cat
  4091. * Two Sided with Face
  4092. v0.7.0 dev 02:
  4093. * Improvements:
  4094. * Improved Float to Vector auto-cast
  4095. * Double-clicking on a 'Get Local Var' node focus on its referenced 'Register Local Var' node
  4096. * Fixes:
  4097. * Fixed issue with keyboard shortcuts on Mac
  4098. * Fixed renaming issues with 'Triplanar Sampler' node
  4099. * Fixed issue on property nodes UI not refreshing on Undo
  4100. * Fixed issues on 'Fresnel' and 'Vertex Normal' related with normal generation
  4101. * Fixed typos on POM
  4102. * Fixed issue with Wire node deletion
  4103. * Fixed auto-change port types issues on all Compare nodes
  4104. v0.7.0 dev 01:
  4105. * Improvements:
  4106. * Greatly improved Undo
  4107. * Colored Port Mode behaves as a normal toggle and doesn't require double tap on W key
  4108. * New Samples:
  4109. * Hologram by The Four Headed Cat
  4110. * Fixes:
  4111. * Fixed issue on deleting nodes with Wire nodes on their connections
  4112. v0.6.1 dev 05:
  4113. * Fixes:
  4114. * Fixed issue with custom Shadow Caster on Vulkan
  4115. v0.6.1 dev 04:
  4116. * Improvement:
  4117. * Renaming 'Texture Sampler' Type property Instance to Reference and prevent confusion with GPU Instanced properties
  4118. * Fixes:
  4119. * Fixed issue on unnecessary saves on Live mode
  4120. * Also increased Inactivity time from 0.5s to 1s
  4121. * Fixed issues on some node interactions not being detected by live mode ( and thus not being flagged to save )
  4122. * Fixed issue on 'Rotator' node not correctly generating local values according to vertex/frag
  4123. * Fixed issue on 'Texture Coordinates' node when defining its Inputs with Tessellation active
  4124. * Fixed issue with custom Shadow Caster on Metal IOs
  4125. * Fixed small typo on Tessellation Shader Model warning message
  4126. v0.6.1 dev 03:
  4127. * New Features:
  4128. * Adding Fallback shader picker on Master Node
  4129. * Adding Shader LOD value modifier on Master Node
  4130. * Improvements:
  4131. * Node property title changes according to selected node
  4132. * Added Multi-Line mode to wires ( Ctrl + W )
  4133. * Added ability to change 'Triplanar Sampler' node name
  4134. * Improved wire connections rendering while zoomed
  4135. * Tweaked live mode to save only when user is inactive for 0.5s
  4136. * Fixes:
  4137. * Small node resizing issues fixed
  4138. * Fixed issues on Live mode not catching node connections and creation correctly
  4139. v0.6.1 dev 02:
  4140. * New Features:
  4141. * Added 'Triplanar Sampler' node
  4142. * Added Vertex Output ( can now change from Relative/Local Vertex Offset to Absolute/Local Vertex Position )
  4143. * Added Smear Sample
  4144. * Added Unlit Light Model
  4145. * Added simpler 'Time' node
  4146. * Added 'Depth Fade' node
  4147. * Added 'Camera Depth' Fade node
  4148. * Improvements:
  4149. * Adding node info into Helper Window
  4150. * Adding drag and drag valid unity assets list to helper window
  4151. * 'Screen Position' and 'Grab Screen Position' now have a Output dropdown on its properties instead of a Toggle
  4152. * Improved GPU instancing example by adding a C# illustrating how to set instanced properties
  4153. * Fixes:
  4154. * Fixed issue on preview materials not being initialized after returning from play mode
  4155. * Fixed issue on local variables reset
  4156. * Fixed issue with tangent and bitangent previews
  4157. * Fixed billboard issue with non-uniform scaling
  4158. * Fixed issue on Tex ports counting as having valid internal data on Node Properties UI
  4159. * Fixed issue on using 'Texture Sampler' or 'Screen Color instances on Master Node Debug port
  4160. v0.6.1 dev 01:
  4161. * Improvements:
  4162. * Activating internal data into 'Object To World' and 'World To Object' nodes and setting it to (0,0,0,1) by default
  4163. * 'Texture Array' nodes can be created by dragging a Texture 2D Array object into ASE canvas
  4164. * Fixes:
  4165. * Fixed issue on 'Texture Array' node when connecting it to Vertex Ports
  4166. * Fixed issue on 'Vertex TexCoord' not generating correct source according to their properties
  4167. * Fixed issues on MourEnvironment, SandPOM and WaterSample shaders
  4168. v0.6.0 dev 01:
  4169. * Improvements:
  4170. * Added Texture Coordinate Coord Size parameter for 'Vertex TexCoord' node
  4171. * Fixes:
  4172. * Fixed issue when doing custom shadow caster with translucency on deferred mode
  4173. * Fix for texture coordinates zeroing out Z and W
  4174. * Fixed issue with input port internal name not being set correctly
  4175. * Fixed issue with custom shader inspector on unity 5.6
  4176. * Fixed shadows issue on Matcap example
  4177. * Fixed 'Virtual Texture Object' sampling the correct UVs when not connected
  4178. v0.5.1 dev 012:
  4179. * Fixed issue with LightColor node not generating the proper values
  4180. * Fixed issue when doing custom shadow caster with translucency on deferred mode
  4181. * Made the code generation compiler friendly because of unity 5.5 and up changes
  4182. v0.5.1 dev 011:
  4183. * Adding new Billboard option into Master Node
  4184. * Control key can be also used to append nodes to selection
  4185. * Fixed issue with not updating material inspector in real time ( because out of focus ) when changing properties on canvas
  4186. * Fixed cast issues on object picker with 'Texture Sample' and 'Texture Object' nodes
  4187. * Added Mask buttons on Previews
  4188. * Improved overall editor performance
  4189. v0.5.1 dev 010:
  4190. * Added 'Desaturate' node
  4191. * Fixed small visual issue with Color Mask UI
  4192. * Improved overall UI performance
  4193. v0.5.1 dev 009:
  4194. * Linking both Up/Down keys and right mouse dragging to scroll behavior into menus
  4195. * Canvas zoom can be changed by right mouse dragging while pressing Alt key
  4196. * Fixing multiple issues with 'Swizzle' node
  4197. * Heavily optimized drawing the node lines
  4198. * Fixed issue with loading default shaders to ports
  4199. v0.5.1 dev 008:
  4200. * Fixed issues when using line feed on 'Custom Expression' node code area
  4201. * Fixed wires and previews displaying on top of the title bar
  4202. * Fixed order issues on 'Commentary' node
  4203. * Fixed issue with BurnEffect sample
  4204. * Majorly improved Previews update speed
  4205. * Added LOD levels to previews ( sampler and texture arrays )
  4206. * Added many more node previews
  4207. * Updated TriplanarProjection and ParallaxMappingIterations samples
  4208. * Optimization on drawing wires
  4209. * 'World Normal', 'World Reflection' and 'Fresnel' input ports now modify their previews
  4210. * Improved Nodes Graph internal ordering to correctly create connections on shader load
  4211. v0.5.1 dev 007:
  4212. * Fixed issues with 'Texture Coordinates' node usage with Tessellation
  4213. * Fixed swizzling issues on 'View Dir' node
  4214. v0.5.1 dev 006:
  4215. * Added new Helper Window accessible via the right most button on the graph window
  4216. * (De)Activating Tessellation and Outlines forces shader to save
  4217. * Expanded the amount of nodes with available preview
  4218. * Added fail safe to continue loading shader if in-existing community nodes are detected
  4219. * Added Normal Map unpacking to 'Texture Array' node and updated its sample
  4220. * Fixed issues on Debug Port usage
  4221. * Fixed issues on 'Flipbook UV Animation' when property nodes are connected to rows and column input ports
  4222. * Fixed issues on Not configuring 'Texture Array' node ports after read
  4223. * Fixed issues on Major fix on register/get local var mechanics
  4224. * Fixed issues on Adding a space on the node palette search when opening it via space bar
  4225. * Fixed issue on ignoring color masks setup on certain situations
  4226. * Forcing default values on input port internal data if an exception is caught
  4227. v0.5.1 dev 005:
  4228. * Added new Curvature Parameter for 'Parallax Occlusion Mapping' Node
  4229. * Added 'World To Object' node
  4230. * Added 'Object To World' node
  4231. * Fixed issue on 'World Normal' node
  4232. * Fixed issue on 'World Tangent' node
  4233. * Fixed issue on 'World Bitangent' node
  4234. * Fixed issue on 'World Reflection' node
  4235. * Fixed issue on 'Register Local Var' node
  4236. * Fixed issue with Tessellation used with Custom Shadow Caster
  4237. * Fixed issue with Mip Level not being used with 'Texture Sampler' nodes on Vertex Ports
  4238. * Fixed issues with Master Node Debug port usage
  4239. v0.5.0 dev 005:
  4240. * Applied overall UI changes from Master Node into all other nodes
  4241. * Added Node Previews
  4242. * Added new Frame Title parameter on 'Commentary' nodes
  4243. * Auto focus on new Frame Title textfield when node is created
  4244. * Added new Soap Bubble sample using both Reflection and Refraction
  4245. * Fixed issue with 'Custom Expression' node
  4246. * Fixed issues on 'Scale' node
  4247. * Fixed issues on 'Panner' node
  4248. * Fixed issues on 'View Dir' node
  4249. * Fixed issues on 'Substance Sample' node
  4250. * Fixed Repaint issues on ASE custom material editor
  4251. * Fixed issue with texture defaults not being correctly written on shader meta
  4252. * Fixed issue on reading alpha:fade option from older versions
  4253. * Tweaked 'Component Mask' node
  4254. * Tweaked 'Pi' node
  4255. * Improved 'Substance Sample' node previewer
  4256. * Refraction to now have Specularity into account
  4257. * Removed warnings on importing ASE to Unity v5.6.0
  4258. v0.5.0 dev 004:
  4259. * Added new Outline option on Master Node properties
  4260. * Tweaked Tessellation material update
  4261. v0.5.0 dev 003:
  4262. * Fixed issue with Live Mode load/save state
  4263. * Fixed repaint issue with picking ports
  4264. * Tweaked 'Substance Sample' node preview
  4265. * Adding Toggle Attribute to 'Switch Toggle' node
  4266. v0.5.0 dev 002:
  4267. * 'Texture Coordinate' now support float3 or float4 output types
  4268. * Changed Colored ports saving mechanism
  4269. * Tweaked how ports are saved/loaded via shader meta to easily modify existing nodes port amount without breaking older versions (API)
  4270. * Tweaked Simple Noise example
  4271. * Tweaked Read Atlas examples
  4272. * Tweaked Translucency example
  4273. * Minor tweak on 'Texture Sample' node
  4274. * Fixed issue with local variable declaration on Master Node Debug port
  4275. * Fixed issue with Screen Space Curvature example
  4276. * Fixed issue with reading fade parameter on master node
  4277. * Fixed issue with Transparency shader
  4278. v0.5.0 dev 001:
  4279. * Fixed issues with 'Texture Array' node
  4280. * Fixed issues with 'Texture Coordinates' node
  4281. * Fixed issues with Tessellation example on MacOs
  4282. * Fixed issues on multiple examples with Unity beta version 6 and above
  4283. * Added new 'Substance Sample' Node
  4284. * Added example using the new 'Substance Sample' node located at Examples/Official/Substance
  4285. * Added Attributes to Property Nodes
  4286. * Added Conditional 'If' Node with Dynamic Branching option
  4287. * Tweaked 'Flipbook UV Animation' node
  4288. v0.4.1 dev 002:
  4289. * Fixed issue 'Flipbook UV Animation' node not resetting properly and added a start frame parameter
  4290. v0.4.1 dev 001:
  4291. * Fixed issue with Texture Array sample
  4292. v0.4.0 dev 003:
  4293. * Default Alpha mode set to Transparent and not Alpha Pre-Multiply
  4294. * Minor tweak on node sorting on palette windows
  4295. * Minor tweak on Master Node Property UI
  4296. * Added new Rendering Options foldout on Master Node properties
  4297. * Added check to prevent division by zero warning with 'Grab Screen Position' and 'Screen Position' nodes
  4298. v0.4.0 dev 002:
  4299. * Forcing LF on all shaders to prevent CRLF mixed with LF when upgrading them
  4300. * Fixed issues with custom shader inspector
  4301. v0.4.0 dev 001:
  4302. * Minor fix on 'Grab Screen Position' node
  4303. * Added new Refraction port into Master Node. Only works correctly with Unity 5.5.1 p1 and above due to an internal unity issue
  4304. * Added new Refraction Example ( AmplifyShaderEditor/Official/ObjectNormalRefraction )
  4305. * Added new Vertex Normal port into Master Node
  4306. * Small update to Material and Shader mode borders
  4307. * Parameter types can now be changed from node itself on property nodes via dropdown on its upper left corner
  4308. * Various fixes from the way the Blend Mode works to take new translucent option into account
  4309. * Fixed issue with connections from cache when changing Light Mode on Master Node not respecting port availability
  4310. * Changed Refracted Shadow demo blend mode
  4311. * Fixed Vertex Offset issue with custom shadow caster
  4312. * Small fix to auto change blend mode on rendertype and render queue changes
  4313. * Fixed some samples with wrong version or wrong connections
  4314. * Fixed UI problems in Unity Personal skin
  4315. v0.3.2 dev 003:
  4316. * Fixed issue with 'Multiply' node
  4317. * Fixed issue with 'Divide' node
  4318. * Fixed issue with 'Texture Sample' node
  4319. * Fixed issue with 'Dot' node
  4320. * Tweaked 'Fresnel' node to use Unity's interpolators and made the default values match Schlick Fresnel
  4321. * Tweaked 'World Normal' node to prevent multiple normals generation
  4322. * Added 'Texture Array' node
  4323. * Added 'Linear to Gamma' and 'Gamma to Linear' nodes
  4324. * Majorly revamped the UI for the master nodes options
  4325. * Revamped Blend Modes and added additional options
  4326. * Added pos-load test on nodes invalid connections to prevent issues with older ASE versions
  4327. v0.3.2 dev 001:
  4328. * Added custom shadow caster
  4329. * Small fix to both emission and alpha on Fade mode
  4330. * Fixed minor issues on reading shaders from older versions( < v0.2.0 dev 002 )
  4331. * Fixed issues on 'Custom Expression' node
  4332. * Fixed issues with 'Grab Screen Position' node
  4333. * Property nodes with Parameter Type set to Global doesn't force _ on the parameter internal name
  4334. v0.3.1 dev 009:
  4335. * Fixed 'Grab Screen Color' node issues
  4336. * Minor tweaks on Context menu
  4337. * Tweaked 'Screen Position' and 'Grab Screen Position' behavior
  4338. * Added switching of input ports connections by holding the CTRL key
  4339. * Added removing of input ports connections by double clicking with the left mouse button on them
  4340. * Forcing Shader Model to at least 4.6 if Tessellation is active
  4341. v0.3.1 dev 008:
  4342. * Small fix to 'Virtual Texture Object' node
  4343. * Fixed issues on 'Texture Sample' node
  4344. * Fixed issue on not correctly unregistering nodes from 'Commentary' nodes when they were deleted
  4345. * Fixed issue when reading old shaders created with v0.2.4 dev 004
  4346. * Fixed issue with 'Texture Coordinates' node when using Tessellation
  4347. * Fixed issues and tweaked overall normals generation
  4348. * Fixed issue on 'Vector From Matrix' node
  4349. * Fixed issue on ASE canvas camera incorrectly panning when hitting a tooltip with Middle/Right Mouse Button
  4350. * Fixed connection errors with 'Vector From Matrix' node
  4351. * Fixed issue with 'Vertex To Fragment' node
  4352. * Deprecated 'Local Position' node
  4353. * Added 'Grab Screen Position' node
  4354. * Tweaks on nodes and ports names to maintain overall consistency
  4355. * Added new Scale and Offset option on 'Screen Position' node
  4356. * 'Register Local Var' node now also has system to prevent duplicate names
  4357. v0.3.1 dev 007:
  4358. * Added auto-order option into 'Register Local Var' node
  4359. * Added new 'Improved Read From Atlas Tiled' example
  4360. * Added 'Simplified Fmod' node
  4361. v0.3.1 dev 006:
  4362. * Fixed control argument exception when deleting connection with Alt key on selected node
  4363. * Fixed issue with 'Switch Toggle' node
  4364. v0.3.1 dev 005
  4365. * Side menus are now resizable
  4366. * Tweaked 'Weighted Blend' node
  4367. * Added 'Summed Blend' node
  4368. * Added 'Toggle Switch' node
  4369. * Added new 'Scale and Offset' node
  4370. * Fixed issues on 'Vertex Binormal World' and '[VS]Vertex Tangent' nodes
  4371. * Fixed issues with 'Texture Sample' nodes created via dragging a texture to ASE
  4372. * Fixed issue with 'Scale' node
  4373. * Fixed issues on incorrectly reading 'Receive Shadows' parameter from ASE shader previous to v0.2.5
  4374. v0.3.1 dev 004
  4375. * Fixed issues with accessing 'Texture Coordinates' node when tessellation is active
  4376. v0.3.1 dev 003
  4377. * Fixed yet another issue with accessing 'Texture Coordinates' node on vertex function
  4378. * Reverted shader update mechanism after save to previous old one until issue reported by Seith is fixed
  4379. v0.3.1 dev 002
  4380. * Fixed issues with accessing 'Texture Coordinates' node on vertex function
  4381. v0.3.1 dev 001
  4382. * Improved overall editor UI
  4383. * Improved Live Mode
  4384. * Nodes can generate shader comments ( API )
  4385. * Each port can now have multiple restrictions ( API )
  4386. * 'Texture Object' can now only be connected to 'Texture Sample' nodes
  4387. * Added 'Switch' toggle node
  4388. v0.3.0 dev 005
  4389. * Auto adding AMPLIFY_SHADER_EDITOR symbol on current target group when initializing ASE ( API - to be used on external community nodes )
  4390. * Added keyboard shortcut [F5] to force available nodes refresh ( API )
  4391. v0.3.0 dev 004
  4392. * Fixed yet another issue with local variables generation
  4393. v0.3.0 dev 003
  4394. * Fixed crash from infinite loop generated on port 'Tex' at 'Texture Sample' node
  4395. * Fixed cast issue when using internal port data on some nodes
  4396. * Fixed issues with local variables generation
  4397. * Tweaked Vertex Displacement port on Master Node
  4398. * Added ability to specify range of valid data types for input ports ( API )
  4399. * Locked 'Tex' port from 'Texture Sample' node to only allow connections to 'Texture Object' nodes
  4400. v0.3.0 dev 002
  4401. * Updated POM to clip edges using a tilling parameter
  4402. * Updated the sand POM example and its height texture
  4403. * Updated Water sample
  4404. * 'Vertex NormalWorld', 'World Position' and 'View Dir' nodes now also output into vertex offset correctly
  4405. * All editor resources are loaded via their own guid
  4406. * Added Tessellation port into master node to be able to create custom Tessellation behaviors
  4407. * Tessellation parameters ( excluding Phong ) on Master Node Properties will be deactivated if its port is being used
  4408. * Created Nodes for each of the builtin Tessellation functions
  4409. * Distance-base Tessellation
  4410. * Edge Length Tessellation
  4411. * Edge Length Tessellation with Cull
  4412. * Fixed issues with not creating local variable correctly if graph is shared between vertex and frag ports
  4413. * Fixed issue with local variables created on automatic casting not taking port category into account
  4414. * Fixed node width issue regarding its header title size
  4415. v0.3.0 dev 001
  4416. * Fixed issue on where deprecated nodes needed to be available to be replaced by their replacement type
  4417. * Fixed issues on all conditional nodes
  4418. * Fixed issue on local variable creations on vertex shader
  4419. * Fixed issue on 'Commentary' node
  4420. * Amplify Texture dependency is dynamically set through asset guid
  4421. * Texture Sampler will quietly ignore virtual object if AT is not found in project and will not generate a broken shader
  4422. * Deprecated nodes are automatically excluded from the palette
  4423. * Updated version in all samples
  4424. * Optimized 'Multiply' and 'Divide' nodes
  4425. * Added Edge Length based tessellation
  4426. * Added Fixed Amount based tessellation
  4427. v0.2.6 dev 001
  4428. * Fixed issue on 'Virtual Texture Object' node
  4429. * Fixed issue on 'If' node
  4430. * Fixed issues in 'Parallax Occlusion Mapping' node
  4431. * Fixed issues on 'Texture Sampler' node
  4432. * Fixed issue for translucency on point lights
  4433. * Fixed issues on 'Texture Coordinates' node
  4434. * Fixed issue on not correctly syncing ASE when when hitting paste button on our custom inspector
  4435. * Avoiding null pointer exception when compiling a 'Texel Size' node without references
  4436. * Re-Organized ASE folder system and added initial pop-up window to clean old/deprecated data
  4437. * Tweaked Default/Material values UI on Property nodes
  4438. * Node Properties window can now be show by double clicking a node
  4439. * Renamed Uniform parameter type to Global
  4440. * Added Distance-Based tessellation. Can be activated/configured on Master Node properties
  4441. * Added Tessellation sample
  4442. * Added emission baking support. Queue must be set to "Geometry" to work properly
  4443. * Added Tiled Atlas sample
  4444. * Added scenes for each sample
  4445. * Added tool tips for Master Node properties
  4446. v0.2.5 dev 004
  4447. * Added Parallax Occlusion Mapping node (uses linear search with customizable samples in conjuntion with interval mapping for refinement of sidewalls)
  4448. * Added simple snapping behavior when moving nodes (left-control)
  4449. * Fixed background grid image sliding when zooming
  4450. * Fixed issue with 'Texcoord Vertex Data' on writing
  4451. * Fixed issues with default values of 'Virtual Texture Object'
  4452. * Fixed issues when drawing 'Matrix3x3' and 'Matrix4x4' nodes
  4453. * Fixed compilation error when creating builds
  4454. v0.2.5 dev 003
  4455. * Fixed issues on 'Texture Coordinate' node
  4456. * Fixed issues with 'Texture Sample' node not reading the correct values from older shaders versions
  4457. * Fixed issues with instanced texture samples
  4458. * Fixed issues with 'Texel Size' node
  4459. * Fixed issues with adding new categories on community created nodes
  4460. * Custom category colors can now also be set up via NodeAttributes(...)
  4461. * Created simpler method ( GeneratePortInstructions(...) ) to generate input instructions. Handy for community members which are creating new custom nodes
  4462. * Fixed issue with propagating incorrect port types on master node when loading shader from older versions
  4463. * Fixed issues with parallax example
  4464. * Alpha channel/Opacity port is forced to 1 if Keep Alpha is set to true and port is not connected to prevent UI issues
  4465. * Added index property in '[VS] Vertex TexCoord' node and marked '[VS] Vertex TexCoord1' node as deprecated
  4466. * Tweaked collision area on minimize/maximize buttons on lateral windows
  4467. * Small optimization on 'Custom Expression' node
  4468. * Added support for virtual texturing via Amplify Texture
  4469. * Community Node additions
  4470. * Jason Booth
  4471. * Added 'Vertex To Fragment' node
  4472. v0.2.5 dev 002
  4473. * Added 'Texture Object' node
  4474. * Tweaked 'Texture Sample' node behavior to use the new 'Texture Object' node
  4475. * Added Stencil Buffer support
  4476. * Added Depth foldout with access to ZWrite, ZTest and Offset configuration
  4477. * Added AMPLIFY_SHADER_EDITOR preprocessor directive
  4478. * Fixed issue on not resetting instance variables counter on reset/load
  4479. * Overall fixes on node UI and its adaptation when zooming out
  4480. v0.2.5 dev 001
  4481. * Added Color Mask option on Master Node
  4482. * Added access to additional UV sets on "Texture Sample" and "Texture Coordinates" nodes
  4483. * Fixed issue when attempting to connect a wire to a locked port
  4484. * Fixed issue with incorrectly adding '#pragma multi_compile_instancing' on non instanced property shaders
  4485. * Minor tweak on palette foldout behavior
  4486. v0.2.4 dev 007
  4487. * Fixed issue on wrong auto-snapping wires with invisible, locked ports
  4488. * Fixed issue with version control on Master Node
  4489. * Added Transmission input port on Master Node
  4490. * Added 'Mip Mode' in 'Texture Sample' node
  4491. * Property names can now be changed directly on node by double clicking on it
  4492. * Properties can be reordered through drag and drop operations on the Master Node properties via the Available Properties foldout area
  4493. * Min/Max values on 'Ranged Float' nodes can be modified directly on canvas
  4494. v0.2.4 dev 006 ( for internal reasons we had to skip dev 005 )
  4495. * Fixes issues on 'Panner' node
  4496. * Fixed issues with not correctly generating local variables according to port category
  4497. * Tweaked behavior and fixed issues on the 'Texture Coordinate' node
  4498. * Fixed issues on 'Texel Size' node
  4499. * Fixed issues on 'Local Vertex Pos' node
  4500. * Fixed issues with Burn Effect Sample
  4501. * Removed positive number restriction from Master Node 'Queue Index' property
  4502. * Custom Material Inspector can be selected/changed on Master Node
  4503. * Done through the Custom Editor property
  4504. * You can always reset to our own by hitting the Reset button next to hit
  4505. * Updated Rim Light Sample to use the new Space option on the 'View Dir' node
  4506. * Updated Parallax Sample to use the new Space option on the 'View Dir' node
  4507. * Added 'Translucency' input port into Master Node
  4508. * Added 'Dithering' node
  4509. * Added Matcap Sample
  4510. * Added Dithering Sample
  4511. * Added Rendering Platforms selector on Master node
  4512. * Added Water Sample on a small terrain in the Sample Scene
  4513. v0.2.4 dev 004
  4514. * Fixed issues with wire shader
  4515. * Fixed issues with 'Texture Coordinates' node
  4516. * Removed warnings occurring on Unity v5.5
  4517. * Fixed issue with 'Append' Node
  4518. * Fixed issue with ASE Custom Material Inspector
  4519. * Tweaked 'Local Vertex Pos' node to output differently if generating code for vertex or fragment ports
  4520. v0.2.4 dev 003
  4521. * Added Texture Reference dropdown to 'Texture Coordinates' node
  4522. * Added Render Path dropdown in Master Node
  4523. * Tweaked 'View Dir' node so you're able to choose between getting the result in tangent or world space
  4524. * Tweaked 'World Space Light Dir' to no longer use internal input port data when nothing is connected, instead worldPos is automaticaly fed into it
  4525. * Added Unity version check for wires shader and fix compatibility issues
  4526. * Added Normalize toggle into 'Screen Position' node
  4527. * Community Node additions
  4528. * Tobias Pott
  4529. * Added 'Swizzle' node
  4530. v0.2.4 dev 002
  4531. * Added 'Layered Blend' node
  4532. * Added 'Weighted Blend' node
  4533. * Added 'Texel Size' node
  4534. * Merged '[VS] Vertex Color' and 'Vertex Color' nodes in order to avoid further confusions and marked the first one as deprecated
  4535. * Node internally changes its output if it's writing to a vertex or fragment port
  4536. * Added 'Surface Depth' node
  4537. * Added 'Screen Depth' node
  4538. * Fixed issue with property nodes uniform variables not taking selected precision into account
  4539. v0.2.4 dev 001
  4540. * Added 'Parallax Mapping' node
  4541. * Added 'Negate' node
  4542. * Added Fake Window user sample
  4543. * Added Parallax Mapping example with 4 iterations using the basic Parallax Mapping node
  4544. v0.2.3 dev 002
  4545. * Added 'Custom Expression' node
  4546. * Precision used is now the least between the one selected in the node and main one selected on the master node
  4547. * 'Register Local Var' and 'Get Local Var' nodes can now be used on Master Node Vertex ports
  4548. * Improved wires visuals
  4549. * Fixed issue with local variables generation
  4550. * Fixed issue with switching port internal data from float to int
  4551. * Fixed cast issue with 'Remap' node
  4552. * Added all the supported shader models into the Master Node dropdown
  4553. * When creating a shader the default selected is now 2.5 to match Unity default
  4554. * Community Node additions
  4555. * The Four Headed Cat
  4556. * Added 'Grayscale' node
  4557. v0.2.3 dev 001
  4558. * New control points can be added to wires to better manipulate its shape
  4559. * Double click a wire to create an additional control point
  4560. * Control points are selected, moved and deleted similar to regular nodes
  4561. * Fixed issue with box selection being active when dragging nodes with the 'Shift' key held down
  4562. * Fixed issues with wire resources not being correctly released when ASE is shut down
  4563. * Fixed issues with 'Pixel Normal World' and 'Vertex Normal World' nodes
  4564. * Fixed issue with 'Multiply' node on Matrix/Vector multiplications
  4565. * Fixed issue with 'Break To Components' node
  4566. * Fixed issue with 'Component Mask' node
  4567. * Fixed issue with wrong type propagation when replacing node connections
  4568. * Fixed issue with instance references being lost on 'Texture Sample' and 'Screen Color' nodes
  4569. * Tweaked 'Object to World' and 'World to Object' nodes to be more compile friendly
  4570. * Added 'Model' matrix node
  4571. * Added 'Relay' node
  4572. * Added 'TriplanarObjectSpace' sample to Samples folder
  4573. * Added precision selector for variables ( known issue: precision info is not being taken into account when auto local vars are created )
  4574. * Community Node additions
  4575. * The Four Headed Cat
  4576. * Added 'Tau' node
  4577. * Rea
  4578. * Added 'Height Map Blend' node
  4579. v0.2.2 dev 001
  4580. * Fixed issue with 'Mask Clip Value' not being correctly synced between material and shader
  4581. * Added colored Debug Mode ... this is an experimental feature where each port and wire are colored according to its data type. Each color/type pair are not final
  4582. * Hold 'P' key to enable debug mode and release it to disable it
  4583. * Double hit 'P' key to toggle debug mode on. Double hit 'P' key again to disable it.
  4584. * Added 'Matrix From Vectors' node
  4585. * Fixed issue with 'Vertex Binormal World' node
  4586. * Added 'Shader Model' dropdown on Master Node properties
  4587. * Community Node additions
  4588. * The Four Headed Cat
  4589. * Fixed issues with 'Logical Operator' nodes
  4590. v0.2.1 dev 001
  4591. * Fixed multiple issues importing current version on top of v0.1.0 dev 001
  4592. v0.2.0 dev 003
  4593. * Mask Clip Value when used is registered as a Material Property
  4594. v0.2.0 dev 002
  4595. * Improved duplicate code detection system
  4596. * Slight improvement on save/update times ( important for Live Mode )
  4597. * Fixed issue with 'Texture Sample' node incorrectly outputting a float4 when no texture assigned and on Normal mode
  4598. * Fixed issue on not opening the correct shader from a material inspector if a new one is selected from its dropdown
  4599. * Fixed issue with 'Length' node incorrectly changing its output type
  4600. * Community Node additions
  4601. * The Four Headed Cat
  4602. * Flipbook UV Animation
  4603. v0.2.0 dev 001
  4604. * Fixed issues with 'Get Local Var' node
  4605. * Output port type is now correctly set to its reference type
  4606. * Changed how references are saved so it won't be affected by order index re-ordering
  4607. * Fixed issue with 'Power' node
  4608. * Fixed issue with 'ATan2' node
  4609. * Fixed issue with 'Cross' node
  4610. * Community Node additions
  4611. * The Four Headed Cat
  4612. * Logical If
  4613. * Pixelate
  4614. * Community Samples additions
  4615. * The Four Headed Cat
  4616. * DissolveBurn
  4617. * Mourelas Konstantinos
  4618. * EnvironmentGradient
  4619. v0.1.5 dev 001
  4620. * Community Node additions
  4621. * The Four Headed Cat ( moved to a separate 'Logical Operators' category )
  4622. * Compare With Range
  4623. * Compare Not Equal
  4624. * Compare Lower Equal
  4625. * Compare Greater Equal
  4626. * Compare Lower
  4627. * Compare Greater
  4628. * Kebrus
  4629. * Vertex Tangent World
  4630. * Vertex Binormal World
  4631. * 'Register Local Var' node changes:
  4632. * Is now independent from Master Node execution order and generates activation signals
  4633. * Will always be executed even if not connected to Master Node
  4634. * Fixed issue updating name string array when loading from file
  4635. * Added order index to control their declaration order( lesser index declared first )
  4636. * Fixed issue on port type change not propagating in certain nodes
  4637. * Hitting Escape key will disable context palette menu if active
  4638. * Fixed issue where right mouse clicking on certain port areas would delete their wire connection
  4639. * Minor improvement on nodes performance
  4640. v0.1.4 dev 002
  4641. * Dynamic type nodes now also reacting to input port disconnections
  4642. * Updated TFHCRemap node from benderete
  4643. 0.1.4 dev 001
  4644. * Fixed issue with order index not being correctly read/written
  4645. * Redone Refraction Shader according to rea suggestion
  4646. * Register Local Var node now has a title style similar to Property Nodes with the local var name always visible
  4647. * Added Get Local Var Node. It allows the user to use already registered local vars anywhere in the graph
  4648. * Added Custom Node Remap ("TFHC - Remap") created by user benderete
  4649. * Fixed issue on Texture Sample UV port not correctly casting to float2 when needed
  4650. * Fixed issue with Texture Sample node not adapting layout when reference is in normal mode
  4651. v0.1.3 dev 003
  4652. * Added RegisterLocalVar node. This is a node to improve shader readability in certain situations, as it forces the shader to create a local var containing its input value and always use that as output
  4653. * Added Screen Color Texture Reference feature
  4654. * Created Simple Refraction example ( Samples/SimpleRefraction )
  4655. * Fixed issues with sampler instance resizing
  4656. * Fixed issue with Fresnel node incident vector
  4657. * Fixed issue with attempting connection removal on inexistent nodes ( bug affecting Append node )
  4658. * Fixed issue with overwriting render type and queue values with Blend Mode default values on read from file
  4659. v0.1.3 dev 002
  4660. * Fixed multiple issues with deleting a Texture Sample node being referenced by other nodes
  4661. * Tweaked Texture Sample reference UI
  4662. v0.1.3 dev 001
  4663. * Fixed issue when releasing mouse drag on menu areas not resetting auto*pan
  4664. * Tweaked Shader Instancing UI
  4665. * Fixed issue with material inspector crashing when updating a property with ASE window turned off
  4666. * Fixed issue with custom UI skins not being correctly initialized under some conditions
  4667. * Added Texture Reference feature
  4668. * Added 'Simple Blur' example to demonstrate how Texture referencing works
  4669. * Added small 'Made with Amplify Shader Editor' info as comment on generated shaders
  4670. v0.1.2 dev 003
  4671. * Fixed issues with opening materials via inspector with no ASE window initialized
  4672. v0.1.2 dev 002
  4673. * Added GPU Instancing ( see Samples/SimpleGPUInstancing example )
  4674. * Added Screen Color node
  4675. * Fixed issue on version testing
  4676. * Tweaked Master Node icon
  4677. * Added additional icon into top-left master node node indicating if gpu instancing is being used or not
  4678. v0.1.2 dev 001
  4679. * Fixed typo on Texture Coordinate node
  4680. * Added explicit control on Render Type and Queue. They will be automatically set when a Blend Mode is selected.
  4681. * Added Fresnel node
  4682. * Fixed Trigonometry typo
  4683. * Improved local var generation on op nodes
  4684. * Added FWidth node
  4685. * Fixed issue with not immediately updating shader when hitting the Live Shader Mode button
  4686. v0.1.1 dev 001
  4687. * Community Contribution from kebrus: Added Rotator node, rotates UV Coordinates/ Vector2 nodes
  4688. * Fixed Vector2 Append Node bug
  4689. * Fixed Int to Float cast issues
  4690. * Added Shader title area on top canvas to forbidden node interaction area
  4691. * Adjusted Auto-Pan behavior
  4692. * Fixed issue with nodes infinite loop detection
  4693. * Tweaked mouse detection inside main canvas
  4694. * Fixed Queue Order typo when building shader
  4695. * Improved notifications when impossible cast is requested
  4696. * Added new VectorFromMatrix which gets a specific row or column from a 3x3 or 4x4 matrix
  4697. * Automatically hiding Order Index on Uniform Property Type nodes
  4698. * Simpler Searchable Node List also being called by hitting the space bar if focus is on main node canvas