e6914174-8ecd-4c99-8e9b-9773a9d368df.json 159 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205
  1. {
  2. "__type__": "cc.JsonAsset",
  3. "_name": "parsed-effect-info",
  4. "_objFlags": 0,
  5. "__editorExtras__": {},
  6. "_native": "",
  7. "json": {
  8. "list": [
  9. {
  10. "args": [
  11. "vec3 color"
  12. ],
  13. "column": 5,
  14. "comment": "",
  15. "file": "editor\\assets\\chunks\\common\\color\\aces.chunk",
  16. "line": 2,
  17. "name": "ACESToneMap",
  18. "type": "vec3",
  19. "usage": "function"
  20. },
  21. {
  22. "args": [
  23. "vec4 shadowPos",
  24. "vec3 worldNormal",
  25. "float normalBias",
  26. "vec3 matViewDir0",
  27. "vec3 matViewDir1",
  28. "vec3 matViewDir2",
  29. "vec2 projScaleXY"
  30. ],
  31. "column": 7,
  32. "comment": "",
  33. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  34. "line": 52,
  35. "name": "ApplyShadowDepthBias_FaceNormal",
  36. "type": "vec4",
  37. "usage": "function"
  38. },
  39. {
  40. "args": [
  41. "vec4 shadowPos",
  42. "vec3 worldNormal",
  43. "float normalBias",
  44. "mat4 matLightView",
  45. "vec2 projScaleXY"
  46. ],
  47. "column": 7,
  48. "comment": "",
  49. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  50. "line": 64,
  51. "name": "ApplyShadowDepthBias_FaceNormal",
  52. "type": "vec4",
  53. "usage": "function"
  54. },
  55. {
  56. "args": [
  57. "vec4 shadowPos",
  58. "float viewspaceDepthBias",
  59. "float projScaleZ",
  60. "float projBiasZ"
  61. ],
  62. "column": 7,
  63. "comment": " (projScaleZ, projBiasZ) = cc_shadowProjDepthInfo.xy",
  64. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  65. "line": 110,
  66. "name": "ApplyShadowDepthBias_Orthographic",
  67. "type": "vec4",
  68. "usage": "function"
  69. },
  70. {
  71. "args": [
  72. "vec4 shadowPos",
  73. "float viewspaceDepthBias"
  74. ],
  75. "column": 7,
  76. "comment": "",
  77. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  78. "line": 85,
  79. "name": "ApplyShadowDepthBias_Perspective",
  80. "type": "vec4",
  81. "usage": "function"
  82. },
  83. {
  84. "args": [
  85. "vec4 shadowPos",
  86. "float viewspaceDepthBias",
  87. "vec3 worldPos"
  88. ],
  89. "column": 7,
  90. "comment": "",
  91. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  92. "line": 127,
  93. "name": "ApplyShadowDepthBias_PerspectiveLinearDepth",
  94. "type": "vec4",
  95. "usage": "function"
  96. },
  97. {
  98. "args": [
  99. "float baseColor",
  100. "float detailedColor"
  101. ],
  102. "column": 6,
  103. "comment": "",
  104. "file": "editor\\assets\\chunks\\common\\effect\\special-effects.chunk",
  105. "line": 21,
  106. "name": "BlendDetailedColorMap",
  107. "type": "float",
  108. "usage": "function"
  109. },
  110. {
  111. "args": [
  112. "vec3 baseColor",
  113. "vec3 detailedColor"
  114. ],
  115. "column": 5,
  116. "comment": "",
  117. "file": "editor\\assets\\chunks\\common\\effect\\special-effects.chunk",
  118. "line": 36,
  119. "name": "BlendDetailedColorMap",
  120. "type": "vec3",
  121. "usage": "function"
  122. },
  123. {
  124. "args": [
  125. "vec3 baseNormalFromMap",
  126. "vec3 detailedNormalFromMap",
  127. "float detailedIntensity"
  128. ],
  129. "column": 5,
  130. "comment": " NormalFromMap is: texture(normalmap) - 0.5",
  131. "file": "editor\\assets\\chunks\\common\\effect\\special-effects.chunk",
  132. "line": 15,
  133. "name": "BlendDetailedNormalMap",
  134. "type": "vec3",
  135. "usage": "function"
  136. },
  137. {
  138. "args": [
  139. "out vec4 csmPos",
  140. "out vec4 csmPosWithBias",
  141. "vec3 worldPos",
  142. "vec3 N",
  143. "vec2 shadowBias"
  144. ],
  145. "column": 10,
  146. "comment": " output csmPos is non-biased position that can be used for sampling shadow map after homogeneous divid",
  147. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  148. "line": 347,
  149. "name": "CCCSMFactorBase",
  150. "type": "float",
  151. "usage": "function"
  152. },
  153. {
  154. "args": [
  155. "out vec4 csmPos",
  156. "out vec4 csmPosWithBias",
  157. "vec3 worldPos",
  158. "vec3 N",
  159. "vec2 shadowBias"
  160. ],
  161. "column": 10,
  162. "comment": "",
  163. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  164. "line": 416,
  165. "name": "CCCSMFactorBase",
  166. "type": "float",
  167. "usage": "function"
  168. },
  169. {
  170. "args": [
  171. "vec3 worldPos",
  172. "vec3 N",
  173. "vec2 shadowBias"
  174. ],
  175. "column": 8,
  176. "comment": "",
  177. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  178. "line": 428,
  179. "name": "CCCSMFactorBase",
  180. "type": "float",
  181. "usage": "function"
  182. },
  183. {
  184. "args": [
  185. "out vec4 csmPos",
  186. "out vec4 shadowProjDepthInfo",
  187. "out vec4 shadowProjInfo",
  188. "out vec3 shadowViewDir0",
  189. "out vec3 shadowViewDir1",
  190. "out vec3 shadowViewDir2",
  191. "vec3 worldPos",
  192. "int level"
  193. ],
  194. "column": 9,
  195. "comment": "",
  196. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  197. "line": 294,
  198. "name": "CCGetCSMLevel",
  199. "type": "void",
  200. "usage": "function"
  201. },
  202. {
  203. "args": [
  204. "out bool isTransitionArea",
  205. "out highp float transitionRatio",
  206. "out vec4 csmPos",
  207. "out vec4 shadowProjDepthInfo",
  208. "out vec4 shadowProjInfo",
  209. "out vec3 shadowViewDir0",
  210. "out vec3 shadowViewDir1",
  211. "out vec3 shadowViewDir2",
  212. "vec3 worldPos"
  213. ],
  214. "column": 8,
  215. "comment": "",
  216. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  217. "line": 313,
  218. "name": "CCGetCSMLevel",
  219. "type": "int",
  220. "usage": "function"
  221. },
  222. {
  223. "args": [
  224. "out vec4 csmPos",
  225. "out vec4 shadowProjDepthInfo",
  226. "out vec4 shadowProjInfo",
  227. "out vec3 shadowViewDir0",
  228. "out vec3 shadowViewDir1",
  229. "out vec3 shadowViewDir2",
  230. "vec3 worldPos"
  231. ],
  232. "column": 8,
  233. "comment": "",
  234. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  235. "line": 339,
  236. "name": "CCGetCSMLevel",
  237. "type": "int",
  238. "usage": "function"
  239. },
  240. {
  241. "args": [
  242. "out vec4 csmPos",
  243. "out vec4 shadowProjDepthInfo",
  244. "out vec4 shadowProjInfo",
  245. "out vec3 shadowViewDir0",
  246. "out vec3 shadowViewDir1",
  247. "out vec3 shadowViewDir2",
  248. "vec3 worldPos"
  249. ],
  250. "column": 8,
  251. "comment": "",
  252. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  253. "line": 412,
  254. "name": "CCGetCSMLevel",
  255. "type": "int",
  256. "usage": "function"
  257. },
  258. {
  259. "args": [
  260. "out highp float ratio",
  261. "vec3 clipPos"
  262. ],
  263. "column": 9,
  264. "comment": "",
  265. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  266. "line": 253,
  267. "name": "CCGetCSMLevelWithTransition",
  268. "type": "bool",
  269. "usage": "function"
  270. },
  271. {
  272. "args": [
  273. "vec4 shadowPosWithDepthBias"
  274. ],
  275. "column": 8,
  276. "comment": "////////////////////////////////////////////////////////Directional Light Shadow",
  277. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  278. "line": 136,
  279. "name": "CCGetDirLightShadowFactorHard",
  280. "type": "float",
  281. "usage": "function"
  282. },
  283. {
  284. "args": [
  285. "vec4 shadowPosWithDepthBias"
  286. ],
  287. "column": 8,
  288. "comment": "",
  289. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  290. "line": 144,
  291. "name": "CCGetDirLightShadowFactorSoft",
  292. "type": "float",
  293. "usage": "function"
  294. },
  295. {
  296. "args": [
  297. "vec4 shadowPosWithDepthBias"
  298. ],
  299. "column": 8,
  300. "comment": "",
  301. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  302. "line": 152,
  303. "name": "CCGetDirLightShadowFactorSoft3X",
  304. "type": "float",
  305. "usage": "function"
  306. },
  307. {
  308. "args": [
  309. "vec4 shadowPosWithDepthBias"
  310. ],
  311. "column": 8,
  312. "comment": "",
  313. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  314. "line": 160,
  315. "name": "CCGetDirLightShadowFactorSoft5X",
  316. "type": "float",
  317. "usage": "function"
  318. },
  319. {
  320. "args": [
  321. "vec3 worldPos",
  322. "float viewSpaceBias"
  323. ],
  324. "column": 6,
  325. "comment": "",
  326. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  327. "line": 21,
  328. "name": "CCGetLinearDepth",
  329. "type": "float",
  330. "usage": "function"
  331. },
  332. {
  333. "args": [
  334. "vec3 worldPos"
  335. ],
  336. "column": 6,
  337. "comment": "",
  338. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  339. "line": 27,
  340. "name": "CCGetLinearDepth",
  341. "type": "float",
  342. "usage": "function"
  343. },
  344. {
  345. "args": [
  346. "vec4 shadowPosWithDepthBias",
  347. "vec3 worldPos"
  348. ],
  349. "column": 8,
  350. "comment": "////////////////////////////////////////////////////////Spot Light Shadow",
  351. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  352. "line": 170,
  353. "name": "CCGetSpotLightShadowFactorHard",
  354. "type": "float",
  355. "usage": "function"
  356. },
  357. {
  358. "args": [
  359. "vec4 shadowPosWithDepthBias",
  360. "vec3 worldPos"
  361. ],
  362. "column": 8,
  363. "comment": "",
  364. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  365. "line": 178,
  366. "name": "CCGetSpotLightShadowFactorSoft",
  367. "type": "float",
  368. "usage": "function"
  369. },
  370. {
  371. "args": [
  372. "vec4 shadowPosWithDepthBias",
  373. "vec3 worldPos"
  374. ],
  375. "column": 8,
  376. "comment": "",
  377. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  378. "line": 186,
  379. "name": "CCGetSpotLightShadowFactorSoft3X",
  380. "type": "float",
  381. "usage": "function"
  382. },
  383. {
  384. "args": [
  385. "vec4 shadowPosWithDepthBias",
  386. "vec3 worldPos"
  387. ],
  388. "column": 8,
  389. "comment": "",
  390. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  391. "line": 194,
  392. "name": "CCGetSpotLightShadowFactorSoft5X",
  393. "type": "float",
  394. "usage": "function"
  395. },
  396. {
  397. "args": [
  398. "out mat4 matWorld"
  399. ],
  400. "column": 5,
  401. "comment": "",
  402. "file": "editor\\assets\\chunks\\builtin\\functionalities\\world-transform.chunk",
  403. "line": 3,
  404. "name": "CCGetWorldMatrix",
  405. "type": "void",
  406. "usage": "function"
  407. },
  408. {
  409. "args": [
  410. "out mat4 matWorld",
  411. "out mat4 matWorldIT"
  412. ],
  413. "column": 5,
  414. "comment": "",
  415. "file": "editor\\assets\\chunks\\builtin\\functionalities\\world-transform.chunk",
  416. "line": 17,
  417. "name": "CCGetWorldMatrixFull",
  418. "type": "void",
  419. "usage": "function"
  420. },
  421. {
  422. "args": [
  423. "int level",
  424. "vec3 worldPos"
  425. ],
  426. "column": 9,
  427. "comment": "",
  428. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  429. "line": 277,
  430. "name": "CCHasCSMLevel",
  431. "type": "bool",
  432. "usage": "function"
  433. },
  434. {
  435. "args": [
  436. "out vec4 shadowPosWithDepthBias",
  437. "vec4 shadowPos",
  438. "vec3 N",
  439. "vec2 shadowBias"
  440. ],
  441. "column": 8,
  442. "comment": "",
  443. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  444. "line": 229,
  445. "name": "CCShadowFactorBase",
  446. "type": "float",
  447. "usage": "function"
  448. },
  449. {
  450. "args": [
  451. "vec4 shadowPos",
  452. "vec3 N",
  453. "vec2 shadowBias"
  454. ],
  455. "column": 8,
  456. "comment": " compatible version",
  457. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  458. "line": 423,
  459. "name": "CCShadowFactorBase",
  460. "type": "float",
  461. "usage": "function"
  462. },
  463. {
  464. "args": [
  465. "out vec4 shadowPosWithDepthBias",
  466. "vec4 shadowPos",
  467. "vec3 worldPos",
  468. "vec2 shadowBias"
  469. ],
  470. "column": 8,
  471. "comment": "////////////////////////////////////////////////////////Main Functions",
  472. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  473. "line": 204,
  474. "name": "CCSpotShadowFactorBase",
  475. "type": "float",
  476. "usage": "function"
  477. },
  478. {
  479. "args": [
  480. "vec4 shadowPos",
  481. "vec3 worldPos",
  482. "vec2 shadowBias"
  483. ],
  484. "column": 8,
  485. "comment": "",
  486. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  487. "line": 433,
  488. "name": "CCSpotShadowFactorBase",
  489. "type": "float",
  490. "usage": "function"
  491. },
  492. {
  493. "args": [
  494. "inout vec4 color",
  495. "float factor"
  496. ],
  497. "column": 5,
  498. "comment": "",
  499. "file": "editor\\assets\\chunks\\builtin\\functionalities\\fog.chunk",
  500. "line": 29,
  501. "name": "CC_APPLY_FOG_BASE",
  502. "type": "void",
  503. "usage": "function"
  504. },
  505. {
  506. "args": [
  507. "uv"
  508. ],
  509. "column": 1,
  510. "comment": "",
  511. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  512. "line": 47,
  513. "name": "CC_HANDLE_GET_CLIP_FLIP",
  514. "type": "",
  515. "usage": "macro"
  516. },
  517. {
  518. "args": [
  519. "uv"
  520. ],
  521. "column": 1,
  522. "comment": "",
  523. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  524. "line": 46,
  525. "name": "CC_HANDLE_RT_SAMPLE_FLIP",
  526. "type": "",
  527. "usage": "macro"
  528. },
  529. {
  530. "args": [],
  531. "column": 1,
  532. "comment": "",
  533. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  534. "line": 98,
  535. "name": "CC_SURFACES_ENABLE_DEBUG_VIEW",
  536. "type": "",
  537. "usage": "macro"
  538. },
  539. {
  540. "args": [],
  541. "column": 1,
  542. "comment": "",
  543. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  544. "line": 39,
  545. "name": "CC_SURFACES_FLIP_UV",
  546. "type": "",
  547. "usage": "macro"
  548. },
  549. {
  550. "args": [],
  551. "column": 1,
  552. "comment": "",
  553. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  554. "line": 87,
  555. "name": "CC_SURFACES_LIGHTING_2ND_LAYER_SPECULAR",
  556. "type": "",
  557. "usage": "macro"
  558. },
  559. {
  560. "args": [],
  561. "column": 1,
  562. "comment": "",
  563. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  564. "line": 48,
  565. "name": "CC_SURFACES_LIGHTING_ANISOTROPIC",
  566. "type": "",
  567. "usage": "macro"
  568. },
  569. {
  570. "args": [],
  571. "column": 1,
  572. "comment": "",
  573. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  574. "line": 51,
  575. "name": "CC_SURFACES_LIGHTING_ANISOTROPIC_ENVCONVOLUTION_COUNT",
  576. "type": "",
  577. "usage": "macro"
  578. },
  579. {
  580. "args": [],
  581. "column": 1,
  582. "comment": "",
  583. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  584. "line": 75,
  585. "name": "CC_SURFACES_LIGHTING_CLEAR_COAT",
  586. "type": "",
  587. "usage": "macro"
  588. },
  589. {
  590. "args": [],
  591. "column": 1,
  592. "comment": "",
  593. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  594. "line": 72,
  595. "name": "CC_SURFACES_LIGHTING_DUAL_LOBE_SPECULAR",
  596. "type": "",
  597. "usage": "macro"
  598. },
  599. {
  600. "args": [],
  601. "column": 1,
  602. "comment": "",
  603. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  604. "line": 81,
  605. "name": "CC_SURFACES_LIGHTING_SSS",
  606. "type": "",
  607. "usage": "macro"
  608. },
  609. {
  610. "args": [],
  611. "column": 1,
  612. "comment": "",
  613. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  614. "line": 63,
  615. "name": "CC_SURFACES_LIGHTING_TRANSMIT_DIFFUSE",
  616. "type": "",
  617. "usage": "macro"
  618. },
  619. {
  620. "args": [],
  621. "column": 1,
  622. "comment": "",
  623. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  624. "line": 60,
  625. "name": "CC_SURFACES_LIGHTING_TRANSMIT_SPECULAR",
  626. "type": "",
  627. "usage": "macro"
  628. },
  629. {
  630. "args": [],
  631. "column": 1,
  632. "comment": "",
  633. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  634. "line": 69,
  635. "name": "CC_SURFACES_LIGHTING_TRT",
  636. "type": "",
  637. "usage": "macro"
  638. },
  639. {
  640. "args": [],
  641. "column": 1,
  642. "comment": "",
  643. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  644. "line": 78,
  645. "name": "CC_SURFACES_LIGHTING_TT",
  646. "type": "",
  647. "usage": "macro"
  648. },
  649. {
  650. "args": [],
  651. "column": 1,
  652. "comment": "",
  653. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  654. "line": 57,
  655. "name": "CC_SURFACES_LIGHTING_USE_FRESNEL",
  656. "type": "",
  657. "usage": "macro"
  658. },
  659. {
  660. "args": [],
  661. "column": 1,
  662. "comment": "",
  663. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  664. "line": 66,
  665. "name": "CC_SURFACES_LIGHTING_USE_SHADOWMAP_TRANSMIT",
  666. "type": "",
  667. "usage": "macro"
  668. },
  669. {
  670. "args": [],
  671. "column": 1,
  672. "comment": "",
  673. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  674. "line": 25,
  675. "name": "CC_SURFACES_TRANSFER_CLIP_POS",
  676. "type": "",
  677. "usage": "macro"
  678. },
  679. {
  680. "args": [],
  681. "column": 1,
  682. "comment": "",
  683. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  684. "line": 22,
  685. "name": "CC_SURFACES_TRANSFER_LOCAL_POS",
  686. "type": "",
  687. "usage": "macro"
  688. },
  689. {
  690. "args": [],
  691. "column": 1,
  692. "comment": "",
  693. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  694. "line": 54,
  695. "name": "CC_SURFACES_USE_LEGACY_COMPATIBLE_LIGHTING",
  696. "type": "",
  697. "usage": "macro"
  698. },
  699. {
  700. "args": [],
  701. "column": 1,
  702. "comment": "",
  703. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  704. "line": 31,
  705. "name": "CC_SURFACES_USE_LIGHT_MAP",
  706. "type": "",
  707. "usage": "macro"
  708. },
  709. {
  710. "args": [],
  711. "column": 1,
  712. "comment": "",
  713. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  714. "line": 45,
  715. "name": "CC_SURFACES_USE_REFLECTION_DENOISE",
  716. "type": "",
  717. "usage": "macro"
  718. },
  719. {
  720. "args": [],
  721. "column": 1,
  722. "comment": "",
  723. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  724. "line": 13,
  725. "name": "CC_SURFACES_USE_SECOND_UV",
  726. "type": "",
  727. "usage": "macro"
  728. },
  729. {
  730. "args": [],
  731. "column": 1,
  732. "comment": "",
  733. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  734. "line": 16,
  735. "name": "CC_SURFACES_USE_TANGENT_SPACE",
  736. "type": "",
  737. "usage": "macro"
  738. },
  739. {
  740. "args": [],
  741. "column": 1,
  742. "comment": "",
  743. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  744. "line": 42,
  745. "name": "CC_SURFACES_USE_TWO_SIDED",
  746. "type": "",
  747. "usage": "macro"
  748. },
  749. {
  750. "args": [],
  751. "column": 1,
  752. "comment": "",
  753. "file": "editor\\assets\\chunks\\surfaces\\effect-macros\\common-macros.chunk",
  754. "line": 19,
  755. "name": "CC_SURFACES_USE_VERTEX_COLOR",
  756. "type": "",
  757. "usage": "macro"
  758. },
  759. {
  760. "args": [],
  761. "column": 1,
  762. "comment": "",
  763. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  764. "line": 2,
  765. "name": "CC_SURFACES_VARING_MODIFIER",
  766. "type": "",
  767. "usage": "macro"
  768. },
  769. {
  770. "args": [],
  771. "column": 1,
  772. "comment": "",
  773. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  774. "line": 2,
  775. "name": "CC_SURFACES_VARING_MODIFIER",
  776. "type": "",
  777. "usage": "macro"
  778. },
  779. {
  780. "args": [
  781. "vec4 pos",
  782. "out float factor"
  783. ],
  784. "column": 5,
  785. "comment": " Fog helper functions",
  786. "file": "editor\\assets\\chunks\\builtin\\functionalities\\fog.chunk",
  787. "line": 14,
  788. "name": "CC_TRANSFER_FOG_BASE",
  789. "type": "void",
  790. "usage": "function"
  791. },
  792. {
  793. "args": [
  794. "vec3 spotLightDir",
  795. "vec3 L",
  796. "float cosAngleOuter"
  797. ],
  798. "column": 6,
  799. "comment": "",
  800. "file": "editor\\assets\\chunks\\common\\lighting\\attenuation.chunk",
  801. "line": 42,
  802. "name": "CalculateAngleAttenuation",
  803. "type": "float",
  804. "usage": "function"
  805. },
  806. {
  807. "args": [
  808. "vec3 normal",
  809. "vec3 tangent",
  810. "float mirrorNormal"
  811. ],
  812. "column": 5,
  813. "comment": " for right-hand coordinates, params must be normalized",
  814. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  815. "line": 60,
  816. "name": "CalculateBinormal",
  817. "type": "vec3",
  818. "usage": "function"
  819. },
  820. {
  821. "args": [
  822. "vec3 R",
  823. "vec3 worldPos",
  824. "vec3 cubeCenterPos",
  825. "vec3 cubeBoxHalfSize"
  826. ],
  827. "column": 5,
  828. "comment": " fix cubemap direction with box projection\r\n return unnormalized vector and weight for exceeding",
  829. "file": "editor\\assets\\chunks\\common\\lighting\\functions.chunk",
  830. "line": 72,
  831. "name": "CalculateBoxProjectedDirection",
  832. "type": "vec4",
  833. "usage": "function"
  834. },
  835. {
  836. "args": [
  837. "float distToLightSqr",
  838. "float lightRadius",
  839. "float lightRange"
  840. ],
  841. "column": 6,
  842. "comment": " advanced",
  843. "file": "editor\\assets\\chunks\\common\\lighting\\attenuation.chunk",
  844. "line": 31,
  845. "name": "CalculateDistanceAttenuation",
  846. "type": "float",
  847. "usage": "function"
  848. },
  849. {
  850. "args": [
  851. "float ior",
  852. "float NoVSat"
  853. ],
  854. "column": 6,
  855. "comment": " saturated N dot V",
  856. "file": "editor\\assets\\chunks\\common\\lighting\\bxdf.chunk",
  857. "line": 3,
  858. "name": "CalculateFresnelCoefficient",
  859. "type": "float",
  860. "usage": "function"
  861. },
  862. {
  863. "args": [
  864. "vec3 tangent",
  865. "vec3 binormal"
  866. ],
  867. "column": 5,
  868. "comment": "",
  869. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  870. "line": 68,
  871. "name": "CalculateNormal",
  872. "type": "vec3",
  873. "usage": "function"
  874. },
  875. {
  876. "args": [
  877. "vec3 normalFromTangentSpace",
  878. "float normalStrength",
  879. "vec3 normal",
  880. "vec3 tangent",
  881. "float mirrorNormal"
  882. ],
  883. "column": 5,
  884. "comment": " param1 is normal from normalmap\r\n return value is un-normalized",
  885. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  886. "line": 76,
  887. "name": "CalculateNormalFromTangentSpace",
  888. "type": "vec3",
  889. "usage": "function"
  890. },
  891. {
  892. "args": [
  893. "vec3 N",
  894. "vec3 V",
  895. "vec3 worldPos",
  896. "vec4 plane",
  897. "vec3 cameraPos",
  898. "float probeReflectedDepth"
  899. ],
  900. "column": 5,
  901. "comment": " for bumped planar reflection",
  902. "file": "editor\\assets\\chunks\\common\\lighting\\functions.chunk",
  903. "line": 44,
  904. "name": "CalculatePlanarReflectPositionOnPlane",
  905. "type": "vec3",
  906. "usage": "function"
  907. },
  908. {
  909. "args": [
  910. "vec3 N",
  911. "vec3 V",
  912. "float NoV"
  913. ],
  914. "column": 5,
  915. "comment": "",
  916. "file": "editor\\assets\\chunks\\common\\lighting\\functions.chunk",
  917. "line": 35,
  918. "name": "CalculateReflectDirection",
  919. "type": "vec3",
  920. "usage": "function"
  921. },
  922. {
  923. "args": [
  924. "vec3 N",
  925. "vec3 V",
  926. "float NoV",
  927. "float ior"
  928. ],
  929. "column": 5,
  930. "comment": " return unnormalized vector, support oppo-side\r\n V from pixel to camera",
  931. "file": "editor\\assets\\chunks\\common\\lighting\\functions.chunk",
  932. "line": 5,
  933. "name": "CalculateRefractDirection",
  934. "type": "vec3",
  935. "usage": "function"
  936. },
  937. {
  938. "args": [
  939. "vec3 N",
  940. "vec3 V",
  941. "float NoV",
  942. "float ior"
  943. ],
  944. "column": 5,
  945. "comment": "",
  946. "file": "editor\\assets\\chunks\\common\\lighting\\functions.chunk",
  947. "line": 23,
  948. "name": "CalculateRefractDirectionFast",
  949. "type": "vec3",
  950. "usage": "function"
  951. },
  952. {
  953. "args": [
  954. "vec3 unscatteredColor",
  955. "float distance",
  956. "float outScatterExtinctCoef",
  957. "float inScatterExtinctCoef",
  958. "float inScatterCoef",
  959. "vec3 inScatterColor",
  960. "vec3 outScatterColor"
  961. ],
  962. "column": 5,
  963. "comment": "",
  964. "file": "editor\\assets\\chunks\\common\\lighting\\bxdf.chunk",
  965. "line": 16,
  966. "name": "CalculateScattering",
  967. "type": "vec3",
  968. "usage": "function"
  969. },
  970. {
  971. "args": [
  972. "vec3 normal",
  973. "vec3 binormal"
  974. ],
  975. "column": 5,
  976. "comment": "",
  977. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  978. "line": 64,
  979. "name": "CalculateTangent",
  980. "type": "vec3",
  981. "usage": "function"
  982. },
  983. {
  984. "args": [
  985. "out vec2 deltaV",
  986. "float frameCount",
  987. "float animSpeed",
  988. "float elapseTime"
  989. ],
  990. "column": 6,
  991. "comment": "",
  992. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  993. "line": 29,
  994. "name": "CalculateVATAnimationUV",
  995. "type": "float",
  996. "usage": "function"
  997. },
  998. {
  999. "args": [
  1000. "float A",
  1001. "float B"
  1002. ],
  1003. "column": 6,
  1004. "comment": " Experimental",
  1005. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  1006. "line": 168,
  1007. "name": "CalculateVATDecodeUV",
  1008. "type": "float",
  1009. "usage": "function"
  1010. },
  1011. {
  1012. "args": [
  1013. "inout vec3 L[5",
  1014. ", out int n"
  1015. ],
  1016. "column": 5,
  1017. "comment": "",
  1018. "file": "editor\\assets\\chunks\\common\\lighting\\rect-area-light.chunk",
  1019. "line": 12,
  1020. "name": "ClipQuadToHorizon",
  1021. "type": "void",
  1022. "usage": "function"
  1023. },
  1024. {
  1025. "args": [
  1026. "type"
  1027. ],
  1028. "column": 1,
  1029. "comment": "",
  1030. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  1031. "line": 19,
  1032. "name": "DEFINE_PACK_HIGHP_FUNC",
  1033. "type": "",
  1034. "usage": "macro"
  1035. },
  1036. {
  1037. "args": [
  1038. "float roughness",
  1039. "float NoH"
  1040. ],
  1041. "column": 6,
  1042. "comment": "",
  1043. "file": "editor\\assets\\chunks\\common\\lighting\\brdf.chunk",
  1044. "line": 3,
  1045. "name": "D_GGX",
  1046. "type": "float",
  1047. "usage": "function"
  1048. },
  1049. {
  1050. "args": [
  1051. "float RoughnessX",
  1052. "float RoughnessY",
  1053. "float NoH",
  1054. "vec3 H",
  1055. "vec3 X",
  1056. "vec3 Y"
  1057. ],
  1058. "column": 6,
  1059. "comment": " How to get an anisotropic offset along T/B:\r\n 1. accurate: rotation TBN basis, let N intend to T/B, such as flow map as normalmap, output vec3(0, delta, 1) instead of vec3(0, 0, 1)\r\n 2. not accurate: H intend to V, and passed to this function",
  1060. "file": "editor\\assets\\chunks\\common\\lighting\\brdf.chunk",
  1061. "line": 35,
  1062. "name": "D_GGXAniso",
  1063. "type": "float",
  1064. "usage": "function"
  1065. },
  1066. {
  1067. "args": [
  1068. "float roughness",
  1069. "float NoH"
  1070. ],
  1071. "column": 6,
  1072. "comment": "",
  1073. "file": "editor\\assets\\chunks\\common\\lighting\\brdf.chunk",
  1074. "line": 11,
  1075. "name": "D_GGXMobile",
  1076. "type": "float",
  1077. "usage": "function"
  1078. },
  1079. {
  1080. "args": [
  1081. "vec3 color",
  1082. "float fraction"
  1083. ],
  1084. "column": 5,
  1085. "comment": " fraction is saturation percentage, 0 means gray",
  1086. "file": "editor\\assets\\chunks\\common\\graph-expression\\base.chunk",
  1087. "line": 5,
  1088. "name": "Desaturation",
  1089. "type": "vec3",
  1090. "usage": "function"
  1091. },
  1092. {
  1093. "args": [
  1094. "vec4 clipPos",
  1095. "vec2 screen_resolution",
  1096. "float transparency"
  1097. ],
  1098. "column": 5,
  1099. "comment": " dithered transparency (dithered alpha test), better looking with TAA\r\n arguments: FSInput_clipPos, cc_viewPort.zw, baseColor.a",
  1100. "file": "editor\\assets\\chunks\\common\\effect\\special-effects.chunk",
  1101. "line": 4,
  1102. "name": "DitheredAlphaClip",
  1103. "type": "void",
  1104. "usage": "function"
  1105. },
  1106. {
  1107. "args": [],
  1108. "column": 1,
  1109. "comment": "",
  1110. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1111. "line": 18,
  1112. "name": "EPSILON",
  1113. "type": "",
  1114. "usage": "macro"
  1115. },
  1116. {
  1117. "args": [],
  1118. "column": 1,
  1119. "comment": "",
  1120. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1121. "line": 19,
  1122. "name": "EPSILON_LOWP",
  1123. "type": "",
  1124. "usage": "macro"
  1125. },
  1126. {
  1127. "args": [],
  1128. "column": 1,
  1129. "comment": "",
  1130. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1131. "line": 21,
  1132. "name": "EXP_VALUE",
  1133. "type": "",
  1134. "usage": "macro"
  1135. },
  1136. {
  1137. "args": [
  1138. "samplerCube tex",
  1139. "vec3 R",
  1140. "float roughness",
  1141. "float mipCount"
  1142. ],
  1143. "column": 7,
  1144. "comment": "",
  1145. "file": "editor\\assets\\chunks\\common\\texture\\cubemap.chunk",
  1146. "line": 33,
  1147. "name": "EnvReflection",
  1148. "type": "vec3",
  1149. "usage": "function"
  1150. },
  1151. {
  1152. "args": [
  1153. "vec3 R",
  1154. "float roughness",
  1155. "float mipCount",
  1156. "float denoiseIntensity"
  1157. ],
  1158. "column": 7,
  1159. "comment": "",
  1160. "file": "editor\\assets\\chunks\\common\\texture\\cubemap.chunk",
  1161. "line": 3,
  1162. "name": "EnvReflectionWithMipFiltering",
  1163. "type": "vec3",
  1164. "usage": "function"
  1165. },
  1166. {
  1167. "args": [
  1168. "vec4 pos",
  1169. "vec3 cameraPos",
  1170. "float fogStart",
  1171. "float fogDensity",
  1172. "float fogAtten"
  1173. ],
  1174. "column": 6,
  1175. "comment": "pos, cc_cameraPos.xyz, cc_fogBase.x, cc_fogBase.z, cc_fogAdd.z",
  1176. "file": "editor\\assets\\chunks\\common\\effect\\fog.chunk",
  1177. "line": 11,
  1178. "name": "ExpFog",
  1179. "type": "float",
  1180. "usage": "function"
  1181. },
  1182. {
  1183. "args": [
  1184. "vec4 pos",
  1185. "vec3 cameraPos",
  1186. "float fogStart",
  1187. "float fogDensity",
  1188. "float fogAtten"
  1189. ],
  1190. "column": 6,
  1191. "comment": "",
  1192. "file": "editor\\assets\\chunks\\common\\effect\\fog.chunk",
  1193. "line": 18,
  1194. "name": "ExpSquaredFog",
  1195. "type": "float",
  1196. "usage": "function"
  1197. },
  1198. {
  1199. "args": [],
  1200. "column": 1,
  1201. "comment": "",
  1202. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1203. "line": 22,
  1204. "name": "FP_MAX",
  1205. "type": "",
  1206. "usage": "macro"
  1207. },
  1208. {
  1209. "args": [],
  1210. "column": 1,
  1211. "comment": "",
  1212. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1213. "line": 23,
  1214. "name": "FP_SCALE",
  1215. "type": "",
  1216. "usage": "macro"
  1217. },
  1218. {
  1219. "args": [],
  1220. "column": 1,
  1221. "comment": "",
  1222. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1223. "line": 24,
  1224. "name": "FP_SCALE_INV",
  1225. "type": "",
  1226. "usage": "macro"
  1227. },
  1228. {
  1229. "args": [],
  1230. "column": 1,
  1231. "comment": "",
  1232. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1233. "line": 58,
  1234. "name": "FSInput_clipPos",
  1235. "type": "",
  1236. "usage": "macro"
  1237. },
  1238. {
  1239. "args": [],
  1240. "column": 1,
  1241. "comment": "",
  1242. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1243. "line": 15,
  1244. "name": "FSInput_faceSideSign",
  1245. "type": "",
  1246. "usage": "macro"
  1247. },
  1248. {
  1249. "args": [],
  1250. "column": 1,
  1251. "comment": "",
  1252. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1253. "line": 50,
  1254. "name": "FSInput_fogFactor",
  1255. "type": "",
  1256. "usage": "macro"
  1257. },
  1258. {
  1259. "args": [],
  1260. "column": 1,
  1261. "comment": "",
  1262. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1263. "line": 39,
  1264. "name": "FSInput_lightMapUV",
  1265. "type": "",
  1266. "usage": "macro"
  1267. },
  1268. {
  1269. "args": [],
  1270. "column": 1,
  1271. "comment": "",
  1272. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1273. "line": 54,
  1274. "name": "FSInput_localPos",
  1275. "type": "",
  1276. "usage": "macro"
  1277. },
  1278. {
  1279. "args": [],
  1280. "column": 1,
  1281. "comment": "",
  1282. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1283. "line": 26,
  1284. "name": "FSInput_mirrorNormal",
  1285. "type": "",
  1286. "usage": "macro"
  1287. },
  1288. {
  1289. "args": [],
  1290. "column": 1,
  1291. "comment": "",
  1292. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1293. "line": 46,
  1294. "name": "FSInput_reflectionProbeId",
  1295. "type": "",
  1296. "usage": "macro"
  1297. },
  1298. {
  1299. "args": [],
  1300. "column": 1,
  1301. "comment": "",
  1302. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1303. "line": 43,
  1304. "name": "FSInput_shadowBias",
  1305. "type": "",
  1306. "usage": "macro"
  1307. },
  1308. {
  1309. "args": [],
  1310. "column": 1,
  1311. "comment": "",
  1312. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1313. "line": 16,
  1314. "name": "FSInput_texcoord",
  1315. "type": "",
  1316. "usage": "macro"
  1317. },
  1318. {
  1319. "args": [],
  1320. "column": 1,
  1321. "comment": "",
  1322. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1323. "line": 33,
  1324. "name": "FSInput_texcoord1",
  1325. "type": "",
  1326. "usage": "macro"
  1327. },
  1328. {
  1329. "args": [],
  1330. "column": 1,
  1331. "comment": "",
  1332. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1333. "line": 19,
  1334. "name": "FSInput_vertexColor",
  1335. "type": "",
  1336. "usage": "macro"
  1337. },
  1338. {
  1339. "args": [],
  1340. "column": 1,
  1341. "comment": "",
  1342. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1343. "line": 14,
  1344. "name": "FSInput_worldNormal",
  1345. "type": "",
  1346. "usage": "macro"
  1347. },
  1348. {
  1349. "args": [],
  1350. "column": 1,
  1351. "comment": "",
  1352. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1353. "line": 13,
  1354. "name": "FSInput_worldPos",
  1355. "type": "",
  1356. "usage": "macro"
  1357. },
  1358. {
  1359. "args": [],
  1360. "column": 1,
  1361. "comment": "",
  1362. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\fs-input.chunk",
  1363. "line": 25,
  1364. "name": "FSInput_worldTangent",
  1365. "type": "",
  1366. "usage": "macro"
  1367. },
  1368. {
  1369. "args": [],
  1370. "column": 1,
  1371. "comment": "",
  1372. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1373. "line": 25,
  1374. "name": "GRAY_VECTOR",
  1375. "type": "",
  1376. "usage": "macro"
  1377. },
  1378. {
  1379. "args": [
  1380. "vec3 L",
  1381. "vec3 litDir",
  1382. "float litAngleScale",
  1383. "float litAngleOffset"
  1384. ],
  1385. "column": 6,
  1386. "comment": "",
  1387. "file": "editor\\assets\\chunks\\common\\lighting\\attenuation.chunk",
  1388. "line": 22,
  1389. "name": "GetAngleAtt",
  1390. "type": "float",
  1391. "usage": "function"
  1392. },
  1393. {
  1394. "args": [
  1395. "float roughness",
  1396. "float anisotropyShape",
  1397. "vec3 V",
  1398. "vec3 N",
  1399. "vec3 X",
  1400. "vec3 Y"
  1401. ],
  1402. "column": 5,
  1403. "comment": "",
  1404. "file": "editor\\assets\\chunks\\common\\lighting\\brdf.chunk",
  1405. "line": 45,
  1406. "name": "GetAnisotropicReflect",
  1407. "type": "vec3",
  1408. "usage": "function"
  1409. },
  1410. {
  1411. "args": [
  1412. "float roughness",
  1413. "float anisotropyShape",
  1414. "out float roughnessX",
  1415. "out float roughnessY"
  1416. ],
  1417. "column": 5,
  1418. "comment": "",
  1419. "file": "editor\\assets\\chunks\\common\\lighting\\brdf.chunk",
  1420. "line": 19,
  1421. "name": "GetAnisotropicRoughness",
  1422. "type": "void",
  1423. "usage": "function"
  1424. },
  1425. {
  1426. "args": [
  1427. "float depthHS",
  1428. "mat4 matProj"
  1429. ],
  1430. "column": 6,
  1431. "comment": " depthHS (Z) = ndc depth(-1 ~ +1)\r\n return camera depth (W), negative in RH",
  1432. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  1433. "line": 32,
  1434. "name": "GetCameraDepthRH",
  1435. "type": "float",
  1436. "usage": "function"
  1437. },
  1438. {
  1439. "args": [
  1440. "float depthHS",
  1441. "float matProj32",
  1442. "float matProj22"
  1443. ],
  1444. "column": 6,
  1445. "comment": "",
  1446. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  1447. "line": 36,
  1448. "name": "GetCameraDepthRH",
  1449. "type": "float",
  1450. "usage": "function"
  1451. },
  1452. {
  1453. "args": [
  1454. "out vec3 centerPos",
  1455. "out vec3 boxHalfSize",
  1456. "out float mipCount",
  1457. "float probeId"
  1458. ],
  1459. "column": 5,
  1460. "comment": "",
  1461. "file": "editor\\assets\\chunks\\builtin\\functionalities\\probe.chunk",
  1462. "line": 29,
  1463. "name": "GetCubeReflectionProbeData",
  1464. "type": "void",
  1465. "usage": "function"
  1466. },
  1467. {
  1468. "args": [
  1469. "float distSqr",
  1470. "float invSqrAttRadius"
  1471. ],
  1472. "column": 6,
  1473. "comment": "",
  1474. "file": "editor\\assets\\chunks\\common\\lighting\\attenuation.chunk",
  1475. "line": 16,
  1476. "name": "GetDistAtt",
  1477. "type": "float",
  1478. "usage": "function"
  1479. },
  1480. {
  1481. "args": [
  1482. "out vec3 lightmapColor",
  1483. "out float dirShadow",
  1484. "out float ao",
  1485. "sampler2D lightingMap",
  1486. "vec2 luv",
  1487. "float lum",
  1488. "vec3 worldNormal"
  1489. ],
  1490. "column": 5,
  1491. "comment": " for surface shader",
  1492. "file": "editor\\assets\\chunks\\common\\lighting\\light-map.chunk",
  1493. "line": 23,
  1494. "name": "GetLightMapColor",
  1495. "type": "void",
  1496. "usage": "function"
  1497. },
  1498. {
  1499. "args": [
  1500. "vec3 viewPos",
  1501. "float near",
  1502. "float far"
  1503. ],
  1504. "column": 6,
  1505. "comment": "",
  1506. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  1507. "line": 54,
  1508. "name": "GetLinearDepthFromViewSpace",
  1509. "type": "float",
  1510. "usage": "function"
  1511. },
  1512. {
  1513. "args": [
  1514. "out float metallic",
  1515. "out vec3 albedo",
  1516. "vec3 diffuse",
  1517. "vec3 specular",
  1518. "float channelFaultTolerant",
  1519. "float f0"
  1520. ],
  1521. "column": 5,
  1522. "comment": "",
  1523. "file": "editor\\assets\\chunks\\common\\mesh\\material.chunk",
  1524. "line": 1,
  1525. "name": "GetMetallicAlbedoFromDiffuseSpecularMathematic",
  1526. "type": "bool",
  1527. "usage": "function"
  1528. },
  1529. {
  1530. "args": [
  1531. "out float metallic",
  1532. "out vec3 albedo",
  1533. "vec3 diffuse",
  1534. "vec3 specular",
  1535. "float f0"
  1536. ],
  1537. "column": 5,
  1538. "comment": "",
  1539. "file": "editor\\assets\\chunks\\common\\mesh\\material.chunk",
  1540. "line": 29,
  1541. "name": "GetMetallicAlbedoFromDiffuseSpecularWithoutColor",
  1542. "type": "bool",
  1543. "usage": "function"
  1544. },
  1545. {
  1546. "args": [
  1547. "vec3 worldPos",
  1548. "mat4 matVirtualCameraViewProj",
  1549. "float flipNDCSign",
  1550. "vec3 viewDir",
  1551. "vec3 reflectDir"
  1552. ],
  1553. "column": 5,
  1554. "comment": "",
  1555. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  1556. "line": 21,
  1557. "name": "GetPlanarReflectScreenUV",
  1558. "type": "vec2",
  1559. "usage": "function"
  1560. },
  1561. {
  1562. "args": [
  1563. "out vec4 plane",
  1564. "out float planarReflectionDepthScale",
  1565. "out float mipCount",
  1566. "float probeId"
  1567. ],
  1568. "column": 5,
  1569. "comment": "",
  1570. "file": "editor\\assets\\chunks\\builtin\\functionalities\\probe.chunk",
  1571. "line": 11,
  1572. "name": "GetPlanarReflectionProbeData",
  1573. "type": "void",
  1574. "usage": "function"
  1575. },
  1576. {
  1577. "args": [
  1578. "vec4 clipPos",
  1579. "float flipNDCSign"
  1580. ],
  1581. "column": 5,
  1582. "comment": " return 0-1",
  1583. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  1584. "line": 7,
  1585. "name": "GetScreenUV",
  1586. "type": "vec2",
  1587. "usage": "function"
  1588. },
  1589. {
  1590. "args": [
  1591. "vec3 worldPos",
  1592. "mat4 matViewProj",
  1593. "float flipNDCSign"
  1594. ],
  1595. "column": 5,
  1596. "comment": "",
  1597. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  1598. "line": 15,
  1599. "name": "GetScreenUV",
  1600. "type": "vec2",
  1601. "usage": "function"
  1602. },
  1603. {
  1604. "args": [
  1605. "out vec3 shadowNDCPos",
  1606. "vec4 shadowPosWithDepthBias"
  1607. ],
  1608. "column": 7,
  1609. "comment": "////////////////////////////////////////////////////////Helper Functions",
  1610. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  1611. "line": 40,
  1612. "name": "GetShadowNDCPos",
  1613. "type": "bool",
  1614. "usage": "function"
  1615. },
  1616. {
  1617. "args": [
  1618. "sampler2D dataMap",
  1619. "float dataMapWidth",
  1620. "float x",
  1621. "float uv_y"
  1622. ],
  1623. "column": 5,
  1624. "comment": "",
  1625. "file": "editor\\assets\\chunks\\builtin\\functionalities\\probe.chunk",
  1626. "line": 2,
  1627. "name": "GetTexData",
  1628. "type": "vec4",
  1629. "usage": "function"
  1630. },
  1631. {
  1632. "args": [
  1633. "vec3 posHS",
  1634. "mat4 matProj",
  1635. "mat4 matProjInv"
  1636. ],
  1637. "column": 5,
  1638. "comment": " posHS = ndc pos (xyz: -1 ~ +1)",
  1639. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  1640. "line": 42,
  1641. "name": "GetViewPosFromNDCPosRH",
  1642. "type": "vec4",
  1643. "usage": "function"
  1644. },
  1645. {
  1646. "args": [
  1647. "float NDCDepth",
  1648. "float projScaleZ",
  1649. "float projBiasZ"
  1650. ],
  1651. "column": 8,
  1652. "comment": "",
  1653. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  1654. "line": 76,
  1655. "name": "GetViewSpaceDepthFromNDCDepth_Orthgraphic",
  1656. "type": "float",
  1657. "usage": "function"
  1658. },
  1659. {
  1660. "args": [
  1661. "float NDCDepth",
  1662. "float homogenousDividW",
  1663. "float invProjScaleZ",
  1664. "float invProjBiasZ"
  1665. ],
  1666. "column": 8,
  1667. "comment": "",
  1668. "file": "editor\\assets\\chunks\\builtin\\functionalities\\shadow-map.chunk",
  1669. "line": 80,
  1670. "name": "GetViewSpaceDepthFromNDCDepth_Perspective",
  1671. "type": "float",
  1672. "usage": "function"
  1673. },
  1674. {
  1675. "args": [
  1676. "vec3 posHS",
  1677. "mat4 matProj",
  1678. "mat4 matViewProjInv"
  1679. ],
  1680. "column": 5,
  1681. "comment": "",
  1682. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  1683. "line": 48,
  1684. "name": "GetWorldPosFromNDCPosRH",
  1685. "type": "vec4",
  1686. "usage": "function"
  1687. },
  1688. {
  1689. "args": [],
  1690. "column": 1,
  1691. "comment": "",
  1692. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1693. "line": 7,
  1694. "name": "HALF_PI",
  1695. "type": "",
  1696. "usage": "macro"
  1697. },
  1698. {
  1699. "args": [
  1700. "vec3 color"
  1701. ],
  1702. "column": 5,
  1703. "comment": "",
  1704. "file": "editor\\assets\\chunks\\common\\color\\tone-mapping.chunk",
  1705. "line": 5,
  1706. "name": "HDRToLDR",
  1707. "type": "vec3",
  1708. "usage": "function"
  1709. },
  1710. {
  1711. "args": [
  1712. "value",
  1713. "defined"
  1714. ],
  1715. "column": 1,
  1716. "comment": "",
  1717. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  1718. "line": 53,
  1719. "name": "HIGHP_VALUE_FROM_STRUCT_DEFINED",
  1720. "type": "",
  1721. "usage": "macro"
  1722. },
  1723. {
  1724. "args": [
  1725. "value",
  1726. "defined"
  1727. ],
  1728. "column": 1,
  1729. "comment": "",
  1730. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  1731. "line": 70,
  1732. "name": "HIGHP_VALUE_FROM_STRUCT_DEFINED_SMALL_RANGE",
  1733. "type": "",
  1734. "usage": "macro"
  1735. },
  1736. {
  1737. "args": [
  1738. "type",
  1739. "name"
  1740. ],
  1741. "column": 1,
  1742. "comment": "",
  1743. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  1744. "line": 44,
  1745. "name": "HIGHP_VALUE_STRUCT_DEFINE",
  1746. "type": "",
  1747. "usage": "macro"
  1748. },
  1749. {
  1750. "args": [
  1751. "value",
  1752. "defined"
  1753. ],
  1754. "column": 1,
  1755. "comment": "",
  1756. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  1757. "line": 61,
  1758. "name": "HIGHP_VALUE_TO_STRUCT_DEFINED",
  1759. "type": "",
  1760. "usage": "macro"
  1761. },
  1762. {
  1763. "args": [
  1764. "value",
  1765. "defined"
  1766. ],
  1767. "column": 1,
  1768. "comment": "",
  1769. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  1770. "line": 78,
  1771. "name": "HIGHP_VALUE_TO_STRUCT_DEFINED_SMALL_RANGE",
  1772. "type": "",
  1773. "usage": "macro"
  1774. },
  1775. {
  1776. "args": [],
  1777. "column": 1,
  1778. "comment": "",
  1779. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1780. "line": 13,
  1781. "name": "INV_HALF_PI",
  1782. "type": "",
  1783. "usage": "macro"
  1784. },
  1785. {
  1786. "args": [],
  1787. "column": 1,
  1788. "comment": "",
  1789. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1790. "line": 14,
  1791. "name": "INV_PI",
  1792. "type": "",
  1793. "usage": "macro"
  1794. },
  1795. {
  1796. "args": [],
  1797. "column": 1,
  1798. "comment": "",
  1799. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1800. "line": 15,
  1801. "name": "INV_PI2",
  1802. "type": "",
  1803. "usage": "macro"
  1804. },
  1805. {
  1806. "args": [],
  1807. "column": 1,
  1808. "comment": "",
  1809. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1810. "line": 16,
  1811. "name": "INV_PI4",
  1812. "type": "",
  1813. "usage": "macro"
  1814. },
  1815. {
  1816. "args": [],
  1817. "column": 1,
  1818. "comment": "",
  1819. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1820. "line": 12,
  1821. "name": "INV_QUATER_PI",
  1822. "type": "",
  1823. "usage": "macro"
  1824. },
  1825. {
  1826. "args": [
  1827. "light_type"
  1828. ],
  1829. "column": 1,
  1830. "comment": "",
  1831. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1832. "line": 65,
  1833. "name": "IS_DIRECTIONAL_LIGHT",
  1834. "type": "",
  1835. "usage": "macro"
  1836. },
  1837. {
  1838. "args": [
  1839. "light_type"
  1840. ],
  1841. "column": 1,
  1842. "comment": "",
  1843. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1844. "line": 68,
  1845. "name": "IS_POINT_LIGHT",
  1846. "type": "",
  1847. "usage": "macro"
  1848. },
  1849. {
  1850. "args": [
  1851. "light_type"
  1852. ],
  1853. "column": 1,
  1854. "comment": "",
  1855. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1856. "line": 69,
  1857. "name": "IS_RANGED_DIRECTIONAL_LIGHT",
  1858. "type": "",
  1859. "usage": "macro"
  1860. },
  1861. {
  1862. "args": [
  1863. "light_type"
  1864. ],
  1865. "column": 1,
  1866. "comment": "",
  1867. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1868. "line": 66,
  1869. "name": "IS_SPHERE_LIGHT",
  1870. "type": "",
  1871. "usage": "macro"
  1872. },
  1873. {
  1874. "args": [
  1875. "light_type"
  1876. ],
  1877. "column": 1,
  1878. "comment": "",
  1879. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1880. "line": 67,
  1881. "name": "IS_SPOT_LIGHT",
  1882. "type": "",
  1883. "usage": "macro"
  1884. },
  1885. {
  1886. "args": [
  1887. "vec3 v1",
  1888. "vec3 v2"
  1889. ],
  1890. "column": 6,
  1891. "comment": " https://eheitzresearch.wordpress.com/415-2/",
  1892. "file": "editor\\assets\\chunks\\common\\lighting\\rect-area-light.chunk",
  1893. "line": 107,
  1894. "name": "IntegrateEdge",
  1895. "type": "float",
  1896. "usage": "function"
  1897. },
  1898. {
  1899. "args": [
  1900. "vec3 specular",
  1901. "float roughness",
  1902. "float NoV"
  1903. ],
  1904. "column": 5,
  1905. "comment": " EnvBRDFApprox",
  1906. "file": "editor\\assets\\chunks\\common\\lighting\\brdf.chunk",
  1907. "line": 63,
  1908. "name": "IntegratedGFApprox",
  1909. "type": "vec3",
  1910. "usage": "function"
  1911. },
  1912. {
  1913. "args": [],
  1914. "column": 1,
  1915. "comment": "",
  1916. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1917. "line": 51,
  1918. "name": "LIGHT_MAP_TYPE_ALL_IN_ONE",
  1919. "type": "",
  1920. "usage": "macro"
  1921. },
  1922. {
  1923. "args": [],
  1924. "column": 1,
  1925. "comment": "",
  1926. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1927. "line": 50,
  1928. "name": "LIGHT_MAP_TYPE_DISABLED",
  1929. "type": "",
  1930. "usage": "macro"
  1931. },
  1932. {
  1933. "args": [],
  1934. "column": 1,
  1935. "comment": "",
  1936. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1937. "line": 52,
  1938. "name": "LIGHT_MAP_TYPE_INDIRECT_OCCLUSION",
  1939. "type": "",
  1940. "usage": "macro"
  1941. },
  1942. {
  1943. "args": [],
  1944. "column": 1,
  1945. "comment": "",
  1946. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1947. "line": 60,
  1948. "name": "LIGHT_TYPE_DIRECTIONAL",
  1949. "type": "",
  1950. "usage": "macro"
  1951. },
  1952. {
  1953. "args": [],
  1954. "column": 1,
  1955. "comment": "",
  1956. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1957. "line": 61,
  1958. "name": "LIGHT_TYPE_POINT",
  1959. "type": "",
  1960. "usage": "macro"
  1961. },
  1962. {
  1963. "args": [],
  1964. "column": 1,
  1965. "comment": "",
  1966. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1967. "line": 64,
  1968. "name": "LIGHT_TYPE_RANGED_DIRECTIONAL",
  1969. "type": "",
  1970. "usage": "macro"
  1971. },
  1972. {
  1973. "args": [],
  1974. "column": 1,
  1975. "comment": "",
  1976. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1977. "line": 63,
  1978. "name": "LIGHT_TYPE_SPHERE",
  1979. "type": "",
  1980. "usage": "macro"
  1981. },
  1982. {
  1983. "args": [],
  1984. "column": 1,
  1985. "comment": "",
  1986. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1987. "line": 62,
  1988. "name": "LIGHT_TYPE_SPOT",
  1989. "type": "",
  1990. "usage": "macro"
  1991. },
  1992. {
  1993. "args": [],
  1994. "column": 1,
  1995. "comment": "",
  1996. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  1997. "line": 20,
  1998. "name": "LOG2",
  1999. "type": "",
  2000. "usage": "macro"
  2001. },
  2002. {
  2003. "args": [
  2004. "vec3 N",
  2005. "vec3 V",
  2006. "vec3 P",
  2007. "mat3 Minv",
  2008. "vec3 points[4]"
  2009. ],
  2010. "column": 5,
  2011. "comment": " https://blog.magnum.graphics/guest-posts/area-lights-with-ltcs/",
  2012. "file": "editor\\assets\\chunks\\common\\lighting\\rect-area-light.chunk",
  2013. "line": 114,
  2014. "name": "LTC_Evaluate",
  2015. "type": "vec3",
  2016. "usage": "function"
  2017. },
  2018. {
  2019. "args": [
  2020. "vec4 pos",
  2021. "vec3 cameraPos",
  2022. "float fogTop",
  2023. "float fogRange",
  2024. "float fogAtten"
  2025. ],
  2026. "column": 6,
  2027. "comment": "pos, cc_cameraPos.xyz, cc_fogAdd.x, cc_fogAdd.y, cc_fogAdd.z",
  2028. "file": "editor\\assets\\chunks\\common\\effect\\fog.chunk",
  2029. "line": 26,
  2030. "name": "LayeredFog",
  2031. "type": "float",
  2032. "usage": "function"
  2033. },
  2034. {
  2035. "args": [],
  2036. "column": 1,
  2037. "comment": "",
  2038. "file": "editor\\assets\\chunks\\lighting-models\\data-structures\\lighting-intermediate-data.chunk",
  2039. "line": 3,
  2040. "name": "LightingIntermediateData",
  2041. "type": "",
  2042. "usage": "variable"
  2043. },
  2044. {
  2045. "args": [],
  2046. "column": 1,
  2047. "comment": "",
  2048. "file": "editor\\assets\\chunks\\lighting-models\\data-structures\\lighting-misc-data.chunk",
  2049. "line": 3,
  2050. "name": "LightingMiscData",
  2051. "type": "",
  2052. "usage": "variable"
  2053. },
  2054. {
  2055. "args": [],
  2056. "column": 1,
  2057. "comment": "",
  2058. "file": "editor\\assets\\chunks\\lighting-models\\data-structures\\lighting-result.chunk",
  2059. "line": 3,
  2060. "name": "LightingResult",
  2061. "type": "",
  2062. "usage": "variable"
  2063. },
  2064. {
  2065. "args": [
  2066. "vec4 pos",
  2067. "vec3 cameraPos",
  2068. "float fogStart",
  2069. "float fogEnd"
  2070. ],
  2071. "column": 6,
  2072. "comment": "pos, cc_cameraPos.xyz, cc_fogBase.x, cc_fogBase.y",
  2073. "file": "editor\\assets\\chunks\\common\\effect\\fog.chunk",
  2074. "line": 4,
  2075. "name": "LinearFog",
  2076. "type": "float",
  2077. "usage": "function"
  2078. },
  2079. {
  2080. "args": [
  2081. "vec3 linear"
  2082. ],
  2083. "column": 5,
  2084. "comment": " #pragma define LinearToSRGB(linear) pow(linear, vec3(0.454545))",
  2085. "file": "editor\\assets\\chunks\\common\\color\\gamma.chunk",
  2086. "line": 19,
  2087. "name": "LinearToSRGB",
  2088. "type": "vec3",
  2089. "usage": "function"
  2090. },
  2091. {
  2092. "args": [
  2093. "v"
  2094. ],
  2095. "column": 1,
  2096. "comment": "",
  2097. "file": "editor\\assets\\chunks\\common\\data\\unpack.chunk",
  2098. "line": 4,
  2099. "name": "MOD_FINT_128",
  2100. "type": "",
  2101. "usage": "macro"
  2102. },
  2103. {
  2104. "args": [],
  2105. "column": 1,
  2106. "comment": "",
  2107. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2108. "line": 8,
  2109. "name": "PI",
  2110. "type": "",
  2111. "usage": "macro"
  2112. },
  2113. {
  2114. "args": [],
  2115. "column": 1,
  2116. "comment": "",
  2117. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2118. "line": 9,
  2119. "name": "PI2",
  2120. "type": "",
  2121. "usage": "macro"
  2122. },
  2123. {
  2124. "args": [],
  2125. "column": 1,
  2126. "comment": "",
  2127. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2128. "line": 10,
  2129. "name": "PI4",
  2130. "type": "",
  2131. "usage": "macro"
  2132. },
  2133. {
  2134. "args": [],
  2135. "column": 1,
  2136. "comment": "",
  2137. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2138. "line": 6,
  2139. "name": "QUATER_PI",
  2140. "type": "",
  2141. "usage": "macro"
  2142. },
  2143. {
  2144. "args": [],
  2145. "column": 1,
  2146. "comment": "",
  2147. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2148. "line": 56,
  2149. "name": "REFLECTION_PROBE_TYPE_CUBE",
  2150. "type": "",
  2151. "usage": "macro"
  2152. },
  2153. {
  2154. "args": [],
  2155. "column": 1,
  2156. "comment": "",
  2157. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2158. "line": 55,
  2159. "name": "REFLECTION_PROBE_TYPE_NONE",
  2160. "type": "",
  2161. "usage": "macro"
  2162. },
  2163. {
  2164. "args": [],
  2165. "column": 1,
  2166. "comment": "",
  2167. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2168. "line": 57,
  2169. "name": "REFLECTION_PROBE_TYPE_PLANAR",
  2170. "type": "",
  2171. "usage": "macro"
  2172. },
  2173. {
  2174. "args": [
  2175. "inout vec3 binormal",
  2176. "inout vec3 normal",
  2177. "in vec3 tangent",
  2178. "float rotationAngle",
  2179. "float mirrorNormal"
  2180. ],
  2181. "column": 5,
  2182. "comment": " fast rotation for anisotropic offset\r\n rotationAngle: -1 - +1",
  2183. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  2184. "line": 115,
  2185. "name": "RotateNormalAndBinormal",
  2186. "type": "void",
  2187. "usage": "function"
  2188. },
  2189. {
  2190. "args": [
  2191. "inout vec3 tangent",
  2192. "inout vec3 binormal",
  2193. "vec3 normal",
  2194. "float rotationAngle"
  2195. ],
  2196. "column": 5,
  2197. "comment": " rotationAngle: radians, 0-2Pi",
  2198. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  2199. "line": 99,
  2200. "name": "RotateTangentAndBinormal",
  2201. "type": "void",
  2202. "usage": "function"
  2203. },
  2204. {
  2205. "args": [
  2206. "vec3 v",
  2207. "float cosTheta",
  2208. "float sinTheta"
  2209. ],
  2210. "column": 5,
  2211. "comment": "",
  2212. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  2213. "line": 84,
  2214. "name": "RotationVecFromAxisY",
  2215. "type": "vec3",
  2216. "usage": "function"
  2217. },
  2218. {
  2219. "args": [
  2220. "vec3 v",
  2221. "float rotateAngleArc"
  2222. ],
  2223. "column": 5,
  2224. "comment": "",
  2225. "file": "editor\\assets\\chunks\\common\\math\\coordinates.chunk",
  2226. "line": 93,
  2227. "name": "RotationVecFromAxisY",
  2228. "type": "vec3",
  2229. "usage": "function"
  2230. },
  2231. {
  2232. "args": [
  2233. "vec2 uv",
  2234. "vec2 centerUV",
  2235. "float time",
  2236. "float speed"
  2237. ],
  2238. "column": 5,
  2239. "comment": "",
  2240. "file": "editor\\assets\\chunks\\common\\graph-expression\\base.chunk",
  2241. "line": 11,
  2242. "name": "Rotator",
  2243. "type": "vec2",
  2244. "usage": "function"
  2245. },
  2246. {
  2247. "args": [
  2248. "vec3 normal"
  2249. ],
  2250. "column": 5,
  2251. "comment": "",
  2252. "file": "editor\\assets\\chunks\\builtin\\functionalities\\sh.chunk",
  2253. "line": 4,
  2254. "name": "SHEvaluate",
  2255. "type": "vec3",
  2256. "usage": "function"
  2257. },
  2258. {
  2259. "args": [
  2260. "vec3 gamma"
  2261. ],
  2262. "column": 5,
  2263. "comment": " #pragma define SRGBToLinear(gamma) pow(gamma, vec3(2.2))",
  2264. "file": "editor\\assets\\chunks\\common\\color\\gamma.chunk",
  2265. "line": 6,
  2266. "name": "SRGBToLinear",
  2267. "type": "vec3",
  2268. "usage": "function"
  2269. },
  2270. {
  2271. "args": [
  2272. "v"
  2273. ],
  2274. "column": 1,
  2275. "comment": "",
  2276. "file": "editor\\assets\\chunks\\common\\data\\unpack.chunk",
  2277. "line": 3,
  2278. "name": "STEP_FINT_128",
  2279. "type": "",
  2280. "usage": "macro"
  2281. },
  2282. {
  2283. "args": [],
  2284. "column": 1,
  2285. "comment": "",
  2286. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2287. "line": 76,
  2288. "name": "SURFACES_MAX_TRANSMIT_DEPTH_VALUE",
  2289. "type": "",
  2290. "usage": "macro"
  2291. },
  2292. {
  2293. "args": [
  2294. "out vec3 lightmapColor",
  2295. "out float dirShadow",
  2296. "out float ao",
  2297. "sampler2D lightingMap",
  2298. "vec2 luv",
  2299. "float lum",
  2300. "vec3 worldNormal"
  2301. ],
  2302. "column": 5,
  2303. "comment": " for legacy effects",
  2304. "file": "editor\\assets\\chunks\\common\\lighting\\light-map.chunk",
  2305. "line": 2,
  2306. "name": "SampleAndDecodeLightMapColor",
  2307. "type": "void",
  2308. "usage": "function"
  2309. },
  2310. {
  2311. "args": [
  2312. "sampler2D exrRGBE",
  2313. "vec2 uv"
  2314. ],
  2315. "column": 5,
  2316. "comment": " for exr data texture and sub resources",
  2317. "file": "editor\\assets\\chunks\\common\\texture\\texture-misc.chunk",
  2318. "line": 3,
  2319. "name": "SampleTextureExr",
  2320. "type": "vec3",
  2321. "usage": "function"
  2322. },
  2323. {
  2324. "args": [
  2325. "sampler2D exrRGBE",
  2326. "sampler2D exrSign",
  2327. "vec2 uv"
  2328. ],
  2329. "column": 5,
  2330. "comment": "",
  2331. "file": "editor\\assets\\chunks\\common\\texture\\texture-misc.chunk",
  2332. "line": 9,
  2333. "name": "SampleTextureExr",
  2334. "type": "vec3",
  2335. "usage": "function"
  2336. },
  2337. {
  2338. "args": [
  2339. "sampler2D exrRGBE",
  2340. "sampler2D exrSign",
  2341. "sampler2D exrAlpha",
  2342. "vec2 uv"
  2343. ],
  2344. "column": 5,
  2345. "comment": "",
  2346. "file": "editor\\assets\\chunks\\common\\texture\\texture-misc.chunk",
  2347. "line": 16,
  2348. "name": "SampleTextureExrWithAlpha",
  2349. "type": "vec4",
  2350. "usage": "function"
  2351. },
  2352. {
  2353. "args": [
  2354. "float distSqr",
  2355. "float invSqrAttRadius"
  2356. ],
  2357. "column": 6,
  2358. "comment": "",
  2359. "file": "editor\\assets\\chunks\\common\\lighting\\attenuation.chunk",
  2360. "line": 10,
  2361. "name": "SmoothDistAtt",
  2362. "type": "float",
  2363. "usage": "function"
  2364. },
  2365. {
  2366. "args": [
  2367. "float distSqr",
  2368. "float invSqrAttRadius"
  2369. ],
  2370. "column": 6,
  2371. "comment": " base",
  2372. "file": "editor\\assets\\chunks\\common\\lighting\\attenuation.chunk",
  2373. "line": 2,
  2374. "name": "SmoothDistAtt2",
  2375. "type": "float",
  2376. "usage": "function"
  2377. },
  2378. {
  2379. "args": [
  2380. "vec2 center",
  2381. "vec2 point",
  2382. "float radius",
  2383. "float hardness"
  2384. ],
  2385. "column": 6,
  2386. "comment": " return 0.0 when out of range\r\n hardness: 0 - 1",
  2387. "file": "editor\\assets\\chunks\\common\\graph-expression\\base.chunk",
  2388. "line": 36,
  2389. "name": "SphereMask",
  2390. "type": "float",
  2391. "usage": "function"
  2392. },
  2393. {
  2394. "args": [
  2395. "vec3 center",
  2396. "vec3 point",
  2397. "float radius",
  2398. "float hardness"
  2399. ],
  2400. "column": 6,
  2401. "comment": "",
  2402. "file": "editor\\assets\\chunks\\common\\graph-expression\\base.chunk",
  2403. "line": 42,
  2404. "name": "SphereMask",
  2405. "type": "float",
  2406. "usage": "function"
  2407. },
  2408. {
  2409. "args": [],
  2410. "column": 1,
  2411. "comment": "",
  2412. "file": "editor\\assets\\chunks\\legacy\\shading-standard-base.chunk",
  2413. "line": 3,
  2414. "name": "StandardSurface",
  2415. "type": "",
  2416. "usage": "variable"
  2417. },
  2418. {
  2419. "args": [],
  2420. "column": 5,
  2421. "comment": " depends on CC_SURFACES_FRAGMENT_ALPHA_CLIP_ONLY\r\n for base shape without color usage, such as render-to-shadow",
  2422. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2423. "line": 12,
  2424. "name": "SurfacesFragmentAlphaClipOnly",
  2425. "type": "void",
  2426. "usage": "function"
  2427. },
  2428. {
  2429. "args": [
  2430. "out float isRotation"
  2431. ],
  2432. "column": 5,
  2433. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_ANISOTROPY_PARAMS\r\n isRotation=1.0: shape(0~1), rotation(0~2PI), 0.0, 0.0\r\n or\r\n isRotation=0.0: shape(0~1), anisoDir.xyz(-1~1)",
  2434. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2435. "line": 57,
  2436. "name": "SurfacesFragmentModifyAnisotropyParams",
  2437. "type": "vec4",
  2438. "usage": "function"
  2439. },
  2440. {
  2441. "args": [
  2442. "out vec4 baseColorAndTransparency",
  2443. "out vec3 shade1",
  2444. "out vec3 shade2",
  2445. "in vec3 baseColor"
  2446. ],
  2447. "column": 5,
  2448. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_BASECOLOR_AND_TOONSHADE",
  2449. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\toon-fs.chunk",
  2450. "line": 5,
  2451. "name": "SurfacesFragmentModifyBaseColorAndToonShade",
  2452. "type": "void",
  2453. "usage": "function"
  2454. },
  2455. {
  2456. "args": [],
  2457. "column": 5,
  2458. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_BASECOLOR_AND_TRANSPARENCY",
  2459. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2460. "line": 3,
  2461. "name": "SurfacesFragmentModifyBaseColorAndTransparency",
  2462. "type": "vec4",
  2463. "usage": "function"
  2464. },
  2465. {
  2466. "args": [
  2467. "float roughness"
  2468. ],
  2469. "column": 5,
  2470. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_DUAL_LOBE_SPECULAR_PARAMS",
  2471. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2472. "line": 169,
  2473. "name": "SurfacesFragmentModifyDualLobeSpecularParams",
  2474. "type": "vec4",
  2475. "usage": "function"
  2476. },
  2477. {
  2478. "args": [],
  2479. "column": 5,
  2480. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_EMISSIVE",
  2481. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2482. "line": 66,
  2483. "name": "SurfacesFragmentModifyEmissive",
  2484. "type": "vec3",
  2485. "usage": "function"
  2486. },
  2487. {
  2488. "args": [],
  2489. "column": 6,
  2490. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_IOR",
  2491. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2492. "line": 46,
  2493. "name": "SurfacesFragmentModifyIOR",
  2494. "type": "float",
  2495. "usage": "function"
  2496. },
  2497. {
  2498. "args": [],
  2499. "column": 5,
  2500. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_PBRPARAMS",
  2501. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2502. "line": 74,
  2503. "name": "SurfacesFragmentModifyPBRParams",
  2504. "type": "vec4",
  2505. "usage": "function"
  2506. },
  2507. {
  2508. "args": [],
  2509. "column": 5,
  2510. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_SSS_PARAMS",
  2511. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2512. "line": 179,
  2513. "name": "SurfacesFragmentModifySSSParams",
  2514. "type": "vec4",
  2515. "usage": "function"
  2516. },
  2517. {
  2518. "args": [
  2519. "inout SurfacesMaterialData surfaceData"
  2520. ],
  2521. "column": 5,
  2522. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_SHARED_DATA\r\n some material datas use shared raw data, avoid sample / calculate same raw data multiply times, use this function for better performance\r\n this function invokes at last\r\n should use corresponding shading-model header: #include <surfaces/data-structures/XXX> before function define",
  2523. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2524. "line": 194,
  2525. "name": "SurfacesFragmentModifySharedData",
  2526. "type": "void",
  2527. "usage": "function"
  2528. },
  2529. {
  2530. "args": [],
  2531. "column": 5,
  2532. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TRT_COLOR",
  2533. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2534. "line": 142,
  2535. "name": "SurfacesFragmentModifyTRTColor",
  2536. "type": "vec3",
  2537. "usage": "function"
  2538. },
  2539. {
  2540. "args": [],
  2541. "column": 5,
  2542. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TRT_PARAMS",
  2543. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2544. "line": 131,
  2545. "name": "SurfacesFragmentModifyTRTParams",
  2546. "type": "vec4",
  2547. "usage": "function"
  2548. },
  2549. {
  2550. "args": [
  2551. "in vec3 baseColor"
  2552. ],
  2553. "column": 5,
  2554. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TT_COLOR",
  2555. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2556. "line": 160,
  2557. "name": "SurfacesFragmentModifyTTColor",
  2558. "type": "vec3",
  2559. "usage": "function"
  2560. },
  2561. {
  2562. "args": [],
  2563. "column": 5,
  2564. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TT_PARAMS",
  2565. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2566. "line": 150,
  2567. "name": "SurfacesFragmentModifyTTParams",
  2568. "type": "vec4",
  2569. "usage": "function"
  2570. },
  2571. {
  2572. "args": [],
  2573. "column": 6,
  2574. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TOON_SHADOW_COVER",
  2575. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\toon-fs.chunk",
  2576. "line": 22,
  2577. "name": "SurfacesFragmentModifyToonShadowCover",
  2578. "type": "float",
  2579. "usage": "function"
  2580. },
  2581. {
  2582. "args": [],
  2583. "column": 5,
  2584. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TOON_SPECULAR",
  2585. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\toon-fs.chunk",
  2586. "line": 30,
  2587. "name": "SurfacesFragmentModifyToonSpecular",
  2588. "type": "vec4",
  2589. "usage": "function"
  2590. },
  2591. {
  2592. "args": [],
  2593. "column": 5,
  2594. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TOON_STEP_AND_FEATHER",
  2595. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\toon-fs.chunk",
  2596. "line": 14,
  2597. "name": "SurfacesFragmentModifyToonStepAndFeather",
  2598. "type": "vec4",
  2599. "usage": "function"
  2600. },
  2601. {
  2602. "args": [],
  2603. "column": 5,
  2604. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TRANSMIT_DIFFUSE_PARAMS",
  2605. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2606. "line": 115,
  2607. "name": "SurfacesFragmentModifyTransmitDiffuseParams",
  2608. "type": "vec4",
  2609. "usage": "function"
  2610. },
  2611. {
  2612. "args": [],
  2613. "column": 5,
  2614. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TRANSMIT_IN_SCATTERING_COLOR",
  2615. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2616. "line": 98,
  2617. "name": "SurfacesFragmentModifyTransmitInScatteringColor",
  2618. "type": "vec3",
  2619. "usage": "function"
  2620. },
  2621. {
  2622. "args": [],
  2623. "column": 5,
  2624. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TRANSMIT_OUT_SCATTERING_COLOR",
  2625. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2626. "line": 106,
  2627. "name": "SurfacesFragmentModifyTransmitOutScatteringColor",
  2628. "type": "vec3",
  2629. "usage": "function"
  2630. },
  2631. {
  2632. "args": [],
  2633. "column": 5,
  2634. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_TRANSMIT_SCATTERING_PARAMS\r\n scattering related parameters and colors",
  2635. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2636. "line": 84,
  2637. "name": "SurfacesFragmentModifyTransmitScatteringParams",
  2638. "type": "vec4",
  2639. "usage": "function"
  2640. },
  2641. {
  2642. "args": [],
  2643. "column": 5,
  2644. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_WORLD_NORMAL",
  2645. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2646. "line": 20,
  2647. "name": "SurfacesFragmentModifyWorldNormal",
  2648. "type": "vec3",
  2649. "usage": "function"
  2650. },
  2651. {
  2652. "args": [
  2653. "inout vec3 worldTangent",
  2654. "inout vec3 worldBinormal",
  2655. "vec3 worldNormal"
  2656. ],
  2657. "column": 5,
  2658. "comment": " depends on CC_SURFACES_FRAGMENT_MODIFY_WORLD_TANGENT_AND_BINORMAL",
  2659. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\standard-fs.chunk",
  2660. "line": 28,
  2661. "name": "SurfacesFragmentModifyWorldTangentAndBinormal",
  2662. "type": "void",
  2663. "usage": "function"
  2664. },
  2665. {
  2666. "args": [
  2667. "inout LightingResult result",
  2668. "in LightingIntermediateData lightingData",
  2669. "in SurfacesMaterialData surfaceData",
  2670. "in LightingMiscData miscData"
  2671. ],
  2672. "column": 7,
  2673. "comment": "",
  2674. "file": "editor\\assets\\chunks\\lighting-models\\default-functions\\simple-skin.chunk",
  2675. "line": 9,
  2676. "name": "SurfacesLightingModifyFinalResult",
  2677. "type": "void",
  2678. "usage": "function"
  2679. },
  2680. {
  2681. "args": [],
  2682. "column": 1,
  2683. "comment": "",
  2684. "file": "editor\\assets\\chunks\\surfaces\\data-structures\\standard.chunk",
  2685. "line": 3,
  2686. "name": "SurfacesMaterialData",
  2687. "type": "",
  2688. "usage": "variable"
  2689. },
  2690. {
  2691. "args": [],
  2692. "column": 1,
  2693. "comment": "",
  2694. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-intermediate.chunk",
  2695. "line": 3,
  2696. "name": "SurfacesStandardVertexIntermediate",
  2697. "type": "",
  2698. "usage": "variable"
  2699. },
  2700. {
  2701. "args": [
  2702. "in SurfacesStandardVertexIntermediate In"
  2703. ],
  2704. "column": 5,
  2705. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_CLIP_POS",
  2706. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2707. "line": 47,
  2708. "name": "SurfacesVertexModifyClipPos",
  2709. "type": "vec4",
  2710. "usage": "function"
  2711. },
  2712. {
  2713. "args": [
  2714. "in SurfacesStandardVertexIntermediate In"
  2715. ],
  2716. "column": 5,
  2717. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_LOCAL_NORMAL",
  2718. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2719. "line": 11,
  2720. "name": "SurfacesVertexModifyLocalNormal",
  2721. "type": "vec3",
  2722. "usage": "function"
  2723. },
  2724. {
  2725. "args": [
  2726. "in SurfacesStandardVertexIntermediate In"
  2727. ],
  2728. "column": 5,
  2729. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_LOCAL_POS",
  2730. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2731. "line": 3,
  2732. "name": "SurfacesVertexModifyLocalPos",
  2733. "type": "vec3",
  2734. "usage": "function"
  2735. },
  2736. {
  2737. "args": [
  2738. "inout SurfacesStandardVertexIntermediate In"
  2739. ],
  2740. "column": 5,
  2741. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_LOCAL_SHARED_DATA\r\n some vertex datas use shared raw data, avoid sample / calculate same raw data multiply times, use this function for better performance\r\n this function invokes before world transform",
  2742. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2743. "line": 31,
  2744. "name": "SurfacesVertexModifyLocalSharedData",
  2745. "type": "void",
  2746. "usage": "function"
  2747. },
  2748. {
  2749. "args": [
  2750. "in SurfacesStandardVertexIntermediate In"
  2751. ],
  2752. "column": 7,
  2753. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_LOCAL_TANGENT",
  2754. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2755. "line": 20,
  2756. "name": "SurfacesVertexModifyLocalTangent",
  2757. "type": "vec4",
  2758. "usage": "function"
  2759. },
  2760. {
  2761. "args": [
  2762. "in SurfacesStandardVertexIntermediate In",
  2763. "vec2 originShadowBias"
  2764. ],
  2765. "column": 5,
  2766. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_SHADOW_BIAS\r\n shadow bias for submesh-level",
  2767. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2768. "line": 79,
  2769. "name": "SurfacesVertexModifyShadowBias",
  2770. "type": "vec2",
  2771. "usage": "function"
  2772. },
  2773. {
  2774. "args": [
  2775. "inout SurfacesStandardVertexIntermediate In"
  2776. ],
  2777. "column": 5,
  2778. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_SHARED_DATA\r\n some vertex datas use shared raw data, avoid sample / calculate same raw data multiply times, use this function for better performance\r\n this function invokes at last",
  2779. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2780. "line": 89,
  2781. "name": "SurfacesVertexModifySharedData",
  2782. "type": "void",
  2783. "usage": "function"
  2784. },
  2785. {
  2786. "args": [
  2787. "inout SurfacesStandardVertexIntermediate In"
  2788. ],
  2789. "column": 5,
  2790. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_UV",
  2791. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2792. "line": 55,
  2793. "name": "SurfacesVertexModifyUV",
  2794. "type": "void",
  2795. "usage": "function"
  2796. },
  2797. {
  2798. "args": [
  2799. "in SurfacesStandardVertexIntermediate In"
  2800. ],
  2801. "column": 5,
  2802. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_WORLD_NORMAL",
  2803. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2804. "line": 66,
  2805. "name": "SurfacesVertexModifyWorldNormal",
  2806. "type": "vec3",
  2807. "usage": "function"
  2808. },
  2809. {
  2810. "args": [
  2811. "in SurfacesStandardVertexIntermediate In"
  2812. ],
  2813. "column": 5,
  2814. "comment": " depends on CC_SURFACES_VERTEX_MODIFY_WORLD_POS",
  2815. "file": "editor\\assets\\chunks\\surfaces\\default-functions\\common-vs.chunk",
  2816. "line": 39,
  2817. "name": "SurfacesVertexModifyWorldPos",
  2818. "type": "vec3",
  2819. "usage": "function"
  2820. },
  2821. {
  2822. "args": [],
  2823. "column": 1,
  2824. "comment": "",
  2825. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2826. "line": 72,
  2827. "name": "TONE_MAPPING_ACES",
  2828. "type": "",
  2829. "usage": "macro"
  2830. },
  2831. {
  2832. "args": [],
  2833. "column": 1,
  2834. "comment": "",
  2835. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  2836. "line": 73,
  2837. "name": "TONE_MAPPING_LINEAR",
  2838. "type": "",
  2839. "usage": "macro"
  2840. },
  2841. {
  2842. "args": [
  2843. "vec3 vectorFromNormalMap"
  2844. ],
  2845. "column": 5,
  2846. "comment": " tangent space -> world space\r\n same as TransformVector",
  2847. "file": "editor\\assets\\chunks\\common\\graph-expression\\base.chunk",
  2848. "line": 23,
  2849. "name": "TransformNormalMap",
  2850. "type": "vec3",
  2851. "usage": "function"
  2852. },
  2853. {
  2854. "args": [
  2855. "value",
  2856. "bit"
  2857. ],
  2858. "column": 1,
  2859. "comment": "",
  2860. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  2861. "line": 15,
  2862. "name": "UnpackBitFromFloat",
  2863. "type": "",
  2864. "usage": "macro"
  2865. },
  2866. {
  2867. "args": [
  2868. "vec3 vatBoundingBoxMin",
  2869. "vec3 vatBoundingBoxMax",
  2870. "vec3 localPos"
  2871. ],
  2872. "column": 5,
  2873. "comment": " calculate simulation voxel coordinates",
  2874. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  2875. "line": 105,
  2876. "name": "VATCalculateFluidVoxelUV",
  2877. "type": "vec3",
  2878. "usage": "function"
  2879. },
  2880. {
  2881. "args": [
  2882. "vec2 lutTexResolution",
  2883. "float meshVertexCount"
  2884. ],
  2885. "column": 6,
  2886. "comment": "/////////////////////////////////////////// public functions\r\n auto calculation frame count for fluid",
  2887. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  2888. "line": 44,
  2889. "name": "VATCalculateFrameCount",
  2890. "type": "float",
  2891. "usage": "function"
  2892. },
  2893. {
  2894. "args": [
  2895. "out vec2 thisFrameUV",
  2896. "out vec2 nextFrameUV",
  2897. "vec2 meshUV",
  2898. "float frameCount",
  2899. "float animSpeed",
  2900. "float elapseTime"
  2901. ],
  2902. "column": 6,
  2903. "comment": " meshUV use texCoord0 for fluid\r\n meshUV use texCoord1 for rigid-body and soft-body",
  2904. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  2905. "line": 52,
  2906. "name": "VATGetAnimUV",
  2907. "type": "float",
  2908. "usage": "function"
  2909. },
  2910. {
  2911. "args": [
  2912. "out vec2 thisFrameUV",
  2913. "out vec2 nextFrameUV",
  2914. "vec2 meshUV",
  2915. "float frameCount",
  2916. "float animSpeed",
  2917. "float elapseTime",
  2918. "sampler2D lutTexture"
  2919. ],
  2920. "column": 6,
  2921. "comment": " VAT with LUT, fluid only",
  2922. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  2923. "line": 61,
  2924. "name": "VATGetAnimUV",
  2925. "type": "float",
  2926. "usage": "function"
  2927. },
  2928. {
  2929. "args": [
  2930. "vec3 meshNormal",
  2931. "vec2 thisFrameUV",
  2932. "sampler2D vatRotationTexture",
  2933. "sampler2D vatRotationSignTexture",
  2934. "sampler2D vatRotationAlphaTexture"
  2935. ],
  2936. "column": 5,
  2937. "comment": " meshNormal is up-axis for fluid",
  2938. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  2939. "line": 80,
  2940. "name": "VATGetLocalNormal",
  2941. "type": "vec3",
  2942. "usage": "function"
  2943. },
  2944. {
  2945. "args": [
  2946. "vec3 meshNormal",
  2947. "vec2 thisFrameUV",
  2948. "vec2 nextFrameUV",
  2949. "float frameLerp",
  2950. "sampler2D vatRotationTexture",
  2951. "sampler2D vatRotationSignTexture",
  2952. "sampler2D vatRotationAlphaTexture"
  2953. ],
  2954. "column": 5,
  2955. "comment": "",
  2956. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  2957. "line": 94,
  2958. "name": "VATGetLocalNormal",
  2959. "type": "vec3",
  2960. "usage": "function"
  2961. },
  2962. {
  2963. "args": [
  2964. "vec2 thisFrameUV",
  2965. "sampler2D vatPositionTexture",
  2966. "sampler2D vatPositionSignTexture"
  2967. ],
  2968. "column": 5,
  2969. "comment": " return absolute position for fluid\r\n return position offset for soft-body",
  2970. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  2971. "line": 74,
  2972. "name": "VATGetLocalPosition",
  2973. "type": "vec3",
  2974. "usage": "function"
  2975. },
  2976. {
  2977. "args": [
  2978. "vec2 thisFrameUV",
  2979. "vec2 nextFrameUV",
  2980. "float frameLerp",
  2981. "sampler2D vatPositionTexture",
  2982. "sampler2D vatPositionSignTexture"
  2983. ],
  2984. "column": 5,
  2985. "comment": " for smooth animation",
  2986. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  2987. "line": 88,
  2988. "name": "VATGetLocalPosition",
  2989. "type": "vec3",
  2990. "usage": "function"
  2991. },
  2992. {
  2993. "args": [
  2994. "inout vec3 meshLocalPos",
  2995. "inout vec3 meshLocalNormal",
  2996. "inout vec3 meshLocalTangent",
  2997. "in vec4 meshVertexColor",
  2998. "vec2 thisFrameUV",
  2999. "float pivMax",
  3000. "float pivMin",
  3001. "float posMax",
  3002. "float posMin",
  3003. "sampler2D vatPositionTexture",
  3004. "sampler2D vatPositionSignTexture",
  3005. "sampler2D vatPositionAlphaTexture",
  3006. "sampler2D vatRotationTexture",
  3007. "sampler2D vatRotationSignTexture",
  3008. "sampler2D vatRotationAlphaTexture"
  3009. ],
  3010. "column": 5,
  3011. "comment": "//////////////////////////////////////////////////////////////Rigid-body",
  3012. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  3013. "line": 121,
  3014. "name": "VATGetLocalPositionRigidBody20",
  3015. "type": "void",
  3016. "usage": "function"
  3017. },
  3018. {
  3019. "args": [
  3020. "inout vec3 meshLocalPos",
  3021. "inout vec3 meshLocalNormal",
  3022. "inout vec3 meshLocalTangent",
  3023. "in vec4 meshVertexColor",
  3024. "vec2 thisFrameUV",
  3025. "float pivMax",
  3026. "float pivMin",
  3027. "float posMax",
  3028. "float posMin",
  3029. "sampler2D vatPositionTexture",
  3030. "sampler2D vatPositionSignTexture",
  3031. "sampler2D vatPositionAlphaTexture",
  3032. "sampler2D vatRotationTexture",
  3033. "sampler2D vatRotationSignTexture",
  3034. "sampler2D vatRotationAlphaTexture"
  3035. ],
  3036. "column": 5,
  3037. "comment": "",
  3038. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  3039. "line": 151,
  3040. "name": "VATGetLocalPositionRigidBody20_UE",
  3041. "type": "void",
  3042. "usage": "function"
  3043. },
  3044. {
  3045. "args": [
  3046. "inout vec3 meshLocalPos",
  3047. "inout vec3 meshLocalNormal",
  3048. "inout vec3 meshLocalTangent",
  3049. "in vec2 meshUV2",
  3050. "in vec2 meshUV3",
  3051. "vec2 thisFrameUV",
  3052. "sampler2D vatPositionTexture",
  3053. "sampler2D vatPositionSignTexture",
  3054. "sampler2D vatPositionAlphaTexture",
  3055. "sampler2D vatRotationTexture",
  3056. "sampler2D vatRotationSignTexture",
  3057. "sampler2D vatRotationAlphaTexture",
  3058. "bool isZUp"
  3059. ],
  3060. "column": 5,
  3061. "comment": "",
  3062. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  3063. "line": 186,
  3064. "name": "VATGetLocalPositionRigidBody30",
  3065. "type": "void",
  3066. "usage": "function"
  3067. },
  3068. {
  3069. "args": [
  3070. "inout vec3 meshLocalPos",
  3071. "inout vec3 meshLocalNormal",
  3072. "inout vec3 meshLocalTangent",
  3073. "in vec2 meshUV2",
  3074. "in vec2 meshUV3",
  3075. "vec2 thisFrameUV",
  3076. "sampler2D vatPositionTexture",
  3077. "sampler2D vatPositionSignTexture",
  3078. "sampler2D vatPositionAlphaTexture",
  3079. "sampler2D vatRotationTexture",
  3080. "sampler2D vatRotationSignTexture",
  3081. "sampler2D vatRotationAlphaTexture"
  3082. ],
  3083. "column": 5,
  3084. "comment": "",
  3085. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  3086. "line": 259,
  3087. "name": "VATGetLocalPositionRigidBody30_Cocos",
  3088. "type": "void",
  3089. "usage": "function"
  3090. },
  3091. {
  3092. "args": [
  3093. "inout vec3 meshLocalPos",
  3094. "inout vec3 meshLocalNormal",
  3095. "inout vec3 meshLocalTangent",
  3096. "in vec2 meshUV2",
  3097. "in vec2 meshUV3",
  3098. "vec2 thisFrameUV",
  3099. "sampler2D vatPositionTexture",
  3100. "sampler2D vatPositionSignTexture",
  3101. "sampler2D vatPositionAlphaTexture",
  3102. "sampler2D vatRotationTexture",
  3103. "sampler2D vatRotationSignTexture",
  3104. "sampler2D vatRotationAlphaTexture"
  3105. ],
  3106. "column": 5,
  3107. "comment": "",
  3108. "file": "editor\\assets\\chunks\\common\\mesh\\vat-animation.chunk",
  3109. "line": 245,
  3110. "name": "VATGetLocalPositionRigidBody30_UE",
  3111. "type": "void",
  3112. "usage": "function"
  3113. },
  3114. {
  3115. "args": [],
  3116. "column": 1,
  3117. "comment": "",
  3118. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3119. "line": 49,
  3120. "name": "VSOutput_clipPos",
  3121. "type": "",
  3122. "usage": "macro"
  3123. },
  3124. {
  3125. "args": [],
  3126. "column": 1,
  3127. "comment": "",
  3128. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3129. "line": 13,
  3130. "name": "VSOutput_faceSideSign",
  3131. "type": "",
  3132. "usage": "macro"
  3133. },
  3134. {
  3135. "args": [],
  3136. "column": 1,
  3137. "comment": "",
  3138. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3139. "line": 41,
  3140. "name": "VSOutput_fogFactor",
  3141. "type": "",
  3142. "usage": "macro"
  3143. },
  3144. {
  3145. "args": [],
  3146. "column": 1,
  3147. "comment": "",
  3148. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3149. "line": 30,
  3150. "name": "VSOutput_lightMapUV",
  3151. "type": "",
  3152. "usage": "macro"
  3153. },
  3154. {
  3155. "args": [],
  3156. "column": 1,
  3157. "comment": "",
  3158. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3159. "line": 45,
  3160. "name": "VSOutput_localPos",
  3161. "type": "",
  3162. "usage": "macro"
  3163. },
  3164. {
  3165. "args": [],
  3166. "column": 1,
  3167. "comment": "",
  3168. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3169. "line": 22,
  3170. "name": "VSOutput_mirrorNormal",
  3171. "type": "",
  3172. "usage": "macro"
  3173. },
  3174. {
  3175. "args": [],
  3176. "column": 1,
  3177. "comment": "",
  3178. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3179. "line": 37,
  3180. "name": "VSOutput_reflectionProbeId",
  3181. "type": "",
  3182. "usage": "macro"
  3183. },
  3184. {
  3185. "args": [],
  3186. "column": 1,
  3187. "comment": "",
  3188. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3189. "line": 34,
  3190. "name": "VSOutput_shadowBias",
  3191. "type": "",
  3192. "usage": "macro"
  3193. },
  3194. {
  3195. "args": [],
  3196. "column": 1,
  3197. "comment": "",
  3198. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3199. "line": 14,
  3200. "name": "VSOutput_texcoord",
  3201. "type": "",
  3202. "usage": "macro"
  3203. },
  3204. {
  3205. "args": [],
  3206. "column": 1,
  3207. "comment": "",
  3208. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3209. "line": 26,
  3210. "name": "VSOutput_texcoord1",
  3211. "type": "",
  3212. "usage": "macro"
  3213. },
  3214. {
  3215. "args": [],
  3216. "column": 1,
  3217. "comment": "",
  3218. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3219. "line": 17,
  3220. "name": "VSOutput_vertexColor",
  3221. "type": "",
  3222. "usage": "macro"
  3223. },
  3224. {
  3225. "args": [],
  3226. "column": 1,
  3227. "comment": "",
  3228. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3229. "line": 12,
  3230. "name": "VSOutput_worldNormal",
  3231. "type": "",
  3232. "usage": "macro"
  3233. },
  3234. {
  3235. "args": [],
  3236. "column": 1,
  3237. "comment": "",
  3238. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3239. "line": 11,
  3240. "name": "VSOutput_worldPos",
  3241. "type": "",
  3242. "usage": "macro"
  3243. },
  3244. {
  3245. "args": [],
  3246. "column": 1,
  3247. "comment": "",
  3248. "file": "editor\\assets\\chunks\\shading-entries\\data-structures\\vs-output.chunk",
  3249. "line": 21,
  3250. "name": "VSOutput_worldTangent",
  3251. "type": "",
  3252. "usage": "macro"
  3253. },
  3254. {
  3255. "args": [
  3256. "anytype Value_Radian"
  3257. ],
  3258. "column": 1,
  3259. "comment": "",
  3260. "file": "",
  3261. "line": 1,
  3262. "name": "acos",
  3263. "type": "anytype",
  3264. "usage": "function"
  3265. },
  3266. {
  3267. "args": [
  3268. "anytype Data"
  3269. ],
  3270. "column": 1,
  3271. "comment": " TRUE if all elements are non-zero",
  3272. "file": "",
  3273. "line": 1,
  3274. "name": "all",
  3275. "type": "bool",
  3276. "usage": "function"
  3277. },
  3278. {
  3279. "args": [
  3280. "anytype Data"
  3281. ],
  3282. "column": 1,
  3283. "comment": " Returns TRUE if any one element is non-zero",
  3284. "file": "",
  3285. "line": 1,
  3286. "name": "any",
  3287. "type": "bool",
  3288. "usage": "function"
  3289. },
  3290. {
  3291. "args": [
  3292. "anytype Value_Radian"
  3293. ],
  3294. "column": 1,
  3295. "comment": "",
  3296. "file": "",
  3297. "line": 1,
  3298. "name": "asin",
  3299. "type": "anytype",
  3300. "usage": "function"
  3301. },
  3302. {
  3303. "args": [
  3304. "anytype y_Div_x"
  3305. ],
  3306. "column": 1,
  3307. "comment": " Calculates the arctangent of a given value, no quadrant can be determined",
  3308. "file": "",
  3309. "line": 1,
  3310. "name": "atan",
  3311. "type": "anytype",
  3312. "usage": "function"
  3313. },
  3314. {
  3315. "args": [
  3316. "float y",
  3317. "float x"
  3318. ],
  3319. "column": 6,
  3320. "comment": "",
  3321. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  3322. "line": 243,
  3323. "name": "atan2",
  3324. "type": "float",
  3325. "usage": "function"
  3326. },
  3327. {
  3328. "args": [
  3329. "anytype y",
  3330. "anytype x"
  3331. ],
  3332. "column": 1,
  3333. "comment": " Computes the arctangent of y/x and can determine the quadrant",
  3334. "file": "",
  3335. "line": 1,
  3336. "name": "atan2",
  3337. "type": "anytype",
  3338. "usage": "function"
  3339. },
  3340. {
  3341. "args": [],
  3342. "column": 1,
  3343. "comment": "",
  3344. "file": "",
  3345. "line": 1,
  3346. "name": "attribute",
  3347. "type": "",
  3348. "usage": "keyword"
  3349. },
  3350. {
  3351. "args": [],
  3352. "column": 1,
  3353. "comment": "",
  3354. "file": "",
  3355. "line": 1,
  3356. "name": "bool",
  3357. "type": "",
  3358. "usage": "keyword"
  3359. },
  3360. {
  3361. "args": [],
  3362. "column": 1,
  3363. "comment": "",
  3364. "file": "",
  3365. "line": 1,
  3366. "name": "break",
  3367. "type": "",
  3368. "usage": "keyword"
  3369. },
  3370. {
  3371. "args": [],
  3372. "column": 1,
  3373. "comment": "",
  3374. "file": "",
  3375. "line": 1,
  3376. "name": "bvec2",
  3377. "type": "",
  3378. "usage": "keyword"
  3379. },
  3380. {
  3381. "args": [],
  3382. "column": 1,
  3383. "comment": "",
  3384. "file": "",
  3385. "line": 1,
  3386. "name": "bvec3",
  3387. "type": "",
  3388. "usage": "keyword"
  3389. },
  3390. {
  3391. "args": [],
  3392. "column": 1,
  3393. "comment": "",
  3394. "file": "",
  3395. "line": 1,
  3396. "name": "bvec4",
  3397. "type": "",
  3398. "usage": "keyword"
  3399. },
  3400. {
  3401. "args": [],
  3402. "column": 26,
  3403. "comment": "",
  3404. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3405. "line": 15,
  3406. "name": "cc_ambientGround",
  3407. "type": "vec4",
  3408. "usage": "variable"
  3409. },
  3410. {
  3411. "args": [],
  3412. "column": 23,
  3413. "comment": " view matrix",
  3414. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3415. "line": 14,
  3416. "name": "cc_ambientSky",
  3417. "type": "vec4",
  3418. "usage": "variable"
  3419. },
  3420. {
  3421. "args": [],
  3422. "column": 24,
  3423. "comment": "",
  3424. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3425. "line": 8,
  3426. "name": "cc_cameraPos",
  3427. "type": "vec4",
  3428. "usage": "variable"
  3429. },
  3430. {
  3431. "args": [],
  3432. "column": 28,
  3433. "comment": "",
  3434. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3435. "line": 7,
  3436. "name": "cc_debug_view_mode",
  3437. "type": "vec4",
  3438. "usage": "variable"
  3439. },
  3440. {
  3441. "args": [],
  3442. "column": 21,
  3443. "comment": "",
  3444. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3445. "line": 11,
  3446. "name": "cc_exposure",
  3447. "type": "vec4",
  3448. "usage": "variable"
  3449. },
  3450. {
  3451. "args": [],
  3452. "column": 19,
  3453. "comment": "",
  3454. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3455. "line": 18,
  3456. "name": "cc_fogAdd",
  3457. "type": "vec4",
  3458. "usage": "variable"
  3459. },
  3460. {
  3461. "args": [],
  3462. "column": 20,
  3463. "comment": "",
  3464. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3465. "line": 17,
  3466. "name": "cc_fogBase",
  3467. "type": "vec4",
  3468. "usage": "variable"
  3469. },
  3470. {
  3471. "args": [],
  3472. "column": 21,
  3473. "comment": "",
  3474. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3475. "line": 16,
  3476. "name": "cc_fogColor",
  3477. "type": "vec4",
  3478. "usage": "variable"
  3479. },
  3480. {
  3481. "args": [
  3482. "LIGHTS_PER_PASS"
  3483. ],
  3484. "column": 39,
  3485. "comment": "",
  3486. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-forward-light.chunk",
  3487. "line": 3,
  3488. "name": "cc_lightColor",
  3489. "type": "vec4",
  3490. "usage": "variable"
  3491. },
  3492. {
  3493. "args": [
  3494. "LIGHTS_PER_PASS"
  3495. ],
  3496. "column": 37,
  3497. "comment": "",
  3498. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-forward-light.chunk",
  3499. "line": 5,
  3500. "name": "cc_lightDir",
  3501. "type": "vec4",
  3502. "usage": "variable"
  3503. },
  3504. {
  3505. "args": [
  3506. "LIGHTS_PER_PASS"
  3507. ],
  3508. "column": 38,
  3509. "comment": "",
  3510. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-forward-light.chunk",
  3511. "line": 2,
  3512. "name": "cc_lightPos",
  3513. "type": "vec4",
  3514. "usage": "variable"
  3515. },
  3516. {
  3517. "args": [
  3518. "LIGHTS_PER_PASS"
  3519. ],
  3520. "column": 48,
  3521. "comment": "",
  3522. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-forward-light.chunk",
  3523. "line": 4,
  3524. "name": "cc_lightSizeRangeAngle",
  3525. "type": "vec4",
  3526. "usage": "variable"
  3527. },
  3528. {
  3529. "args": [],
  3530. "column": 31,
  3531. "comment": "",
  3532. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-local.chunk",
  3533. "line": 4,
  3534. "name": "cc_lightingMapUVParam",
  3535. "type": "vec4",
  3536. "usage": "variable"
  3537. },
  3538. {
  3539. "args": [],
  3540. "column": 28,
  3541. "comment": "",
  3542. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-local.chunk",
  3543. "line": 5,
  3544. "name": "cc_localShadowBias",
  3545. "type": "vec4",
  3546. "usage": "variable"
  3547. },
  3548. {
  3549. "args": [],
  3550. "column": 25,
  3551. "comment": "",
  3552. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3553. "line": 13,
  3554. "name": "cc_mainLitColor",
  3555. "type": "vec4",
  3556. "usage": "variable"
  3557. },
  3558. {
  3559. "args": [],
  3560. "column": 23,
  3561. "comment": " x: single mode, yzw: composite and misc flags combination value",
  3562. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3563. "line": 12,
  3564. "name": "cc_mainLitDir",
  3565. "type": "vec4",
  3566. "usage": "variable"
  3567. },
  3568. {
  3569. "args": [],
  3570. "column": 25,
  3571. "comment": "",
  3572. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3573. "line": 2,
  3574. "name": "cc_matLightView",
  3575. "type": "mat4",
  3576. "usage": "variable"
  3577. },
  3578. {
  3579. "args": [],
  3580. "column": 29,
  3581. "comment": "",
  3582. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3583. "line": 3,
  3584. "name": "cc_matLightViewProj",
  3585. "type": "mat4",
  3586. "usage": "variable"
  3587. },
  3588. {
  3589. "args": [],
  3590. "column": 22,
  3591. "comment": "",
  3592. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3593. "line": 4,
  3594. "name": "cc_matProj",
  3595. "type": "mat4",
  3596. "usage": "variable"
  3597. },
  3598. {
  3599. "args": [],
  3600. "column": 25,
  3601. "comment": "",
  3602. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3603. "line": 5,
  3604. "name": "cc_matProjInv",
  3605. "type": "mat4",
  3606. "usage": "variable"
  3607. },
  3608. {
  3609. "args": [],
  3610. "column": 22,
  3611. "comment": "",
  3612. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3613. "line": 2,
  3614. "name": "cc_matView",
  3615. "type": "mat4",
  3616. "usage": "variable"
  3617. },
  3618. {
  3619. "args": [],
  3620. "column": 25,
  3621. "comment": "",
  3622. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3623. "line": 3,
  3624. "name": "cc_matViewInv",
  3625. "type": "mat4",
  3626. "usage": "variable"
  3627. },
  3628. {
  3629. "args": [],
  3630. "column": 26,
  3631. "comment": "",
  3632. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3633. "line": 6,
  3634. "name": "cc_matViewProj",
  3635. "type": "mat4",
  3636. "usage": "variable"
  3637. },
  3638. {
  3639. "args": [],
  3640. "column": 29,
  3641. "comment": "",
  3642. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3643. "line": 7,
  3644. "name": "cc_matViewProjInv",
  3645. "type": "mat4",
  3646. "usage": "variable"
  3647. },
  3648. {
  3649. "args": [],
  3650. "column": 21,
  3651. "comment": "",
  3652. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-local.chunk",
  3653. "line": 2,
  3654. "name": "cc_matWorld",
  3655. "type": "mat4",
  3656. "usage": "variable"
  3657. },
  3658. {
  3659. "args": [],
  3660. "column": 23,
  3661. "comment": "",
  3662. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-local.chunk",
  3663. "line": 3,
  3664. "name": "cc_matWorldIT",
  3665. "type": "mat4",
  3666. "usage": "variable"
  3667. },
  3668. {
  3669. "args": [],
  3670. "column": 23,
  3671. "comment": "",
  3672. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3673. "line": 4,
  3674. "name": "cc_nativeSize",
  3675. "type": "vec4",
  3676. "usage": "variable"
  3677. },
  3678. {
  3679. "args": [],
  3680. "column": 20,
  3681. "comment": "",
  3682. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3683. "line": 19,
  3684. "name": "cc_nearFar",
  3685. "type": "vec4",
  3686. "usage": "variable"
  3687. },
  3688. {
  3689. "args": [],
  3690. "column": 25,
  3691. "comment": "",
  3692. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3693. "line": 11,
  3694. "name": "cc_planarNDInfo",
  3695. "type": "vec4",
  3696. "usage": "variable"
  3697. },
  3698. {
  3699. "args": [],
  3700. "column": 22,
  3701. "comment": "",
  3702. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3703. "line": 5,
  3704. "name": "cc_probeInfo",
  3705. "type": "vec4",
  3706. "usage": "variable"
  3707. },
  3708. {
  3709. "args": [],
  3710. "column": 33,
  3711. "comment": "",
  3712. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-local.chunk",
  3713. "line": 6,
  3714. "name": "cc_reflectionProbeData1",
  3715. "type": "vec4",
  3716. "usage": "variable"
  3717. },
  3718. {
  3719. "args": [],
  3720. "column": 33,
  3721. "comment": "",
  3722. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-local.chunk",
  3723. "line": 7,
  3724. "name": "cc_reflectionProbeData2",
  3725. "type": "vec4",
  3726. "usage": "variable"
  3727. },
  3728. {
  3729. "args": [],
  3730. "column": 24,
  3731. "comment": "",
  3732. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3733. "line": 10,
  3734. "name": "cc_screenScale",
  3735. "type": "vec4",
  3736. "usage": "variable"
  3737. },
  3738. {
  3739. "args": [],
  3740. "column": 23,
  3741. "comment": "",
  3742. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3743. "line": 3,
  3744. "name": "cc_screenSize",
  3745. "type": "vec4",
  3746. "usage": "variable"
  3747. },
  3748. {
  3749. "args": [],
  3750. "column": 24,
  3751. "comment": "",
  3752. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3753. "line": 10,
  3754. "name": "cc_shadowColor",
  3755. "type": "vec4",
  3756. "usage": "variable"
  3757. },
  3758. {
  3759. "args": [],
  3760. "column": 35,
  3761. "comment": "",
  3762. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3763. "line": 4,
  3764. "name": "cc_shadowInvProjDepthInfo",
  3765. "type": "vec4",
  3766. "usage": "variable"
  3767. },
  3768. {
  3769. "args": [],
  3770. "column": 27,
  3771. "comment": "",
  3772. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3773. "line": 9,
  3774. "name": "cc_shadowLPNNInfo",
  3775. "type": "vec4",
  3776. "usage": "variable"
  3777. },
  3778. {
  3779. "args": [],
  3780. "column": 27,
  3781. "comment": " x -> cc_matLightProj[0]; y -> cc_matLightProj[5]; z -> 1.0 / cc_matLightProj[0]; w -> 1.0 / cc_matLightProj[5];",
  3782. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3783. "line": 7,
  3784. "name": "cc_shadowNFLSInfo",
  3785. "type": "vec4",
  3786. "usage": "variable"
  3787. },
  3788. {
  3789. "args": [],
  3790. "column": 32,
  3791. "comment": "",
  3792. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3793. "line": 5,
  3794. "name": "cc_shadowProjDepthInfo",
  3795. "type": "vec4",
  3796. "usage": "variable"
  3797. },
  3798. {
  3799. "args": [],
  3800. "column": 27,
  3801. "comment": " x -> cc_matLightProj[10]([2][2]); y -> cc_matLightProj[14]([2][3]); z -> cc_matLightProj[11]([3][2]); w -> cc_matLightProj[15]([3][3]);",
  3802. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3803. "line": 6,
  3804. "name": "cc_shadowProjInfo",
  3805. "type": "vec4",
  3806. "usage": "variable"
  3807. },
  3808. {
  3809. "args": [],
  3810. "column": 27,
  3811. "comment": "",
  3812. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-shadow.chunk",
  3813. "line": 8,
  3814. "name": "cc_shadowWHPBInfo",
  3815. "type": "vec4",
  3816. "usage": "variable"
  3817. },
  3818. {
  3819. "args": [],
  3820. "column": 29,
  3821. "comment": "",
  3822. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3823. "line": 9,
  3824. "name": "cc_surfaceTransform",
  3825. "type": "vec4",
  3826. "usage": "variable"
  3827. },
  3828. {
  3829. "args": [],
  3830. "column": 19,
  3831. "comment": "",
  3832. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3833. "line": 2,
  3834. "name": "cc_time",
  3835. "type": "vec4",
  3836. "usage": "variable"
  3837. },
  3838. {
  3839. "args": [],
  3840. "column": 21,
  3841. "comment": " xyz: camera position w: flip NDC sign",
  3842. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-global.chunk",
  3843. "line": 20,
  3844. "name": "cc_viewPort",
  3845. "type": "vec4",
  3846. "usage": "variable"
  3847. },
  3848. {
  3849. "args": [],
  3850. "column": 29,
  3851. "comment": "",
  3852. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-world-bound.chunk",
  3853. "line": 2,
  3854. "name": "cc_worldBoundCenter",
  3855. "type": "vec4",
  3856. "usage": "variable"
  3857. },
  3858. {
  3859. "args": [],
  3860. "column": 34,
  3861. "comment": "",
  3862. "file": "editor\\assets\\chunks\\builtin\\uniforms\\cc-world-bound.chunk",
  3863. "line": 3,
  3864. "name": "cc_worldBoundHalfExtents",
  3865. "type": "vec4",
  3866. "usage": "variable"
  3867. },
  3868. {
  3869. "args": [
  3870. "anytype Data"
  3871. ],
  3872. "column": 1,
  3873. "comment": " Take the integer that is greater than or equal to it and closest to it",
  3874. "file": "",
  3875. "line": 1,
  3876. "name": "ceil",
  3877. "type": "UINTVECType",
  3878. "usage": "function"
  3879. },
  3880. {
  3881. "args": [
  3882. "anytype Data",
  3883. "anytype MinValue",
  3884. "anytype MaxValue"
  3885. ],
  3886. "column": 1,
  3887. "comment": " Be especially careful with UINT variables, which must be converted to int before being passed in",
  3888. "file": "",
  3889. "line": 1,
  3890. "name": "clamp",
  3891. "type": "anytype",
  3892. "usage": "function"
  3893. },
  3894. {
  3895. "args": [
  3896. "value"
  3897. ],
  3898. "column": 1,
  3899. "comment": "",
  3900. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  3901. "line": 31,
  3902. "name": "clip",
  3903. "type": "",
  3904. "usage": "macro"
  3905. },
  3906. {
  3907. "args": [
  3908. "anytype AnyElementIsLessThanZeroThenClip"
  3909. ],
  3910. "column": 1,
  3911. "comment": "",
  3912. "file": "",
  3913. "line": 1,
  3914. "name": "clip",
  3915. "type": "void",
  3916. "usage": "function"
  3917. },
  3918. {
  3919. "args": [],
  3920. "column": 1,
  3921. "comment": "",
  3922. "file": "",
  3923. "line": 1,
  3924. "name": "const",
  3925. "type": "",
  3926. "usage": "keyword"
  3927. },
  3928. {
  3929. "args": [],
  3930. "column": 1,
  3931. "comment": "",
  3932. "file": "",
  3933. "line": 1,
  3934. "name": "continue",
  3935. "type": "",
  3936. "usage": "keyword"
  3937. },
  3938. {
  3939. "args": [
  3940. "anytype Value_Radian"
  3941. ],
  3942. "column": 1,
  3943. "comment": "",
  3944. "file": "",
  3945. "line": 1,
  3946. "name": "cos",
  3947. "type": "anytype",
  3948. "usage": "function"
  3949. },
  3950. {
  3951. "args": [
  3952. "anytype Value_Radian"
  3953. ],
  3954. "column": 1,
  3955. "comment": " Hyperbolic sine",
  3956. "file": "",
  3957. "line": 1,
  3958. "name": "cosh",
  3959. "type": "anytype",
  3960. "usage": "function"
  3961. },
  3962. {
  3963. "args": [
  3964. "VECType Data1",
  3965. "VECType Data2"
  3966. ],
  3967. "column": 1,
  3968. "comment": " Left-hand rule",
  3969. "file": "",
  3970. "line": 1,
  3971. "name": "cross",
  3972. "type": "VECType",
  3973. "usage": "function"
  3974. },
  3975. {
  3976. "args": [
  3977. "anytype ShaderInputData"
  3978. ],
  3979. "column": 1,
  3980. "comment": "",
  3981. "file": "",
  3982. "line": 1,
  3983. "name": "dFdx",
  3984. "type": "anytype",
  3985. "usage": "function"
  3986. },
  3987. {
  3988. "args": [
  3989. "anytype ShaderInputData"
  3990. ],
  3991. "column": 1,
  3992. "comment": " Low precision, not supported by GLES",
  3993. "file": "",
  3994. "line": 1,
  3995. "name": "dFdxCoarse",
  3996. "type": "anytype",
  3997. "usage": "function"
  3998. },
  3999. {
  4000. "args": [
  4001. "anytype ShaderInputData"
  4002. ],
  4003. "column": 1,
  4004. "comment": " High precision, not supported by GLES",
  4005. "file": "",
  4006. "line": 1,
  4007. "name": "dFdxFine",
  4008. "type": "anytype",
  4009. "usage": "function"
  4010. },
  4011. {
  4012. "args": [
  4013. "anytype ShaderInputData"
  4014. ],
  4015. "column": 1,
  4016. "comment": "",
  4017. "file": "",
  4018. "line": 1,
  4019. "name": "dFdy",
  4020. "type": "anytype",
  4021. "usage": "function"
  4022. },
  4023. {
  4024. "args": [
  4025. "anytype ShaderInputData"
  4026. ],
  4027. "column": 1,
  4028. "comment": " Low precision, not supported by GLES",
  4029. "file": "",
  4030. "line": 1,
  4031. "name": "dFdyCoarse",
  4032. "type": "anytype",
  4033. "usage": "function"
  4034. },
  4035. {
  4036. "args": [
  4037. "anytype ShaderInputData"
  4038. ],
  4039. "column": 1,
  4040. "comment": " High precision, not supported by GLES",
  4041. "file": "",
  4042. "line": 1,
  4043. "name": "dFdyFine",
  4044. "type": "anytype",
  4045. "usage": "function"
  4046. },
  4047. {
  4048. "args": [
  4049. "highp vec4 rgba"
  4050. ],
  4051. "column": 12,
  4052. "comment": "",
  4053. "file": "editor\\assets\\chunks\\common\\data\\unpack.chunk",
  4054. "line": 6,
  4055. "name": "decode32",
  4056. "type": "float",
  4057. "usage": "function"
  4058. },
  4059. {
  4060. "args": [
  4061. "floatVECType Value_Radian"
  4062. ],
  4063. "column": 1,
  4064. "comment": " Turn radians into degrees",
  4065. "file": "",
  4066. "line": 1,
  4067. "name": "degrees",
  4068. "type": "floatVECType",
  4069. "usage": "function"
  4070. },
  4071. {
  4072. "args": [
  4073. "MAT4 Data"
  4074. ],
  4075. "column": 1,
  4076. "comment": " Matrix ranking",
  4077. "file": "",
  4078. "line": 1,
  4079. "name": "determinant",
  4080. "type": "float",
  4081. "usage": "function"
  4082. },
  4083. {
  4084. "args": [
  4085. "anytype AnyElementIsLessThanZeroThenClip"
  4086. ],
  4087. "column": 1,
  4088. "comment": "",
  4089. "file": "",
  4090. "line": 1,
  4091. "name": "discard",
  4092. "type": "void",
  4093. "usage": "function"
  4094. },
  4095. {
  4096. "args": [],
  4097. "column": 1,
  4098. "comment": "",
  4099. "file": "",
  4100. "line": 1,
  4101. "name": "discard",
  4102. "type": "",
  4103. "usage": "keyword"
  4104. },
  4105. {
  4106. "args": [
  4107. "VECType Point1",
  4108. "VECType Point2"
  4109. ],
  4110. "column": 1,
  4111. "comment": "",
  4112. "file": "",
  4113. "line": 1,
  4114. "name": "distance",
  4115. "type": "float",
  4116. "usage": "function"
  4117. },
  4118. {
  4119. "args": [],
  4120. "column": 1,
  4121. "comment": "",
  4122. "file": "",
  4123. "line": 1,
  4124. "name": "do",
  4125. "type": "",
  4126. "usage": "keyword"
  4127. },
  4128. {
  4129. "args": [
  4130. "VECType Data1",
  4131. "VECType Data2"
  4132. ],
  4133. "column": 1,
  4134. "comment": "",
  4135. "file": "",
  4136. "line": 1,
  4137. "name": "dot",
  4138. "type": "float",
  4139. "usage": "function"
  4140. },
  4141. {
  4142. "args": [],
  4143. "column": 1,
  4144. "comment": "",
  4145. "file": "",
  4146. "line": 1,
  4147. "name": "else",
  4148. "type": "",
  4149. "usage": "keyword"
  4150. },
  4151. {
  4152. "args": [
  4153. "anytype Data1",
  4154. "anytype Data2"
  4155. ],
  4156. "column": 1,
  4157. "comment": " Make a judgment for each element of Data1 and Data2",
  4158. "file": "",
  4159. "line": 1,
  4160. "name": "equal",
  4161. "type": "boolVECType",
  4162. "usage": "function"
  4163. },
  4164. {
  4165. "args": [
  4166. "data1",
  4167. "data2"
  4168. ],
  4169. "column": 1,
  4170. "comment": "",
  4171. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  4172. "line": 28,
  4173. "name": "equalf",
  4174. "type": "",
  4175. "usage": "macro"
  4176. },
  4177. {
  4178. "args": [
  4179. "data1",
  4180. "data2",
  4181. "epsilonValue"
  4182. ],
  4183. "column": 1,
  4184. "comment": "",
  4185. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  4186. "line": 30,
  4187. "name": "equalf_epsilon",
  4188. "type": "",
  4189. "usage": "macro"
  4190. },
  4191. {
  4192. "args": [
  4193. "data1",
  4194. "data2"
  4195. ],
  4196. "column": 1,
  4197. "comment": "",
  4198. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  4199. "line": 29,
  4200. "name": "equalf_lowp",
  4201. "type": "",
  4202. "usage": "macro"
  4203. },
  4204. {
  4205. "args": [
  4206. "vec3 euler"
  4207. ],
  4208. "column": 5,
  4209. "comment": "",
  4210. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  4211. "line": 224,
  4212. "name": "eulerToQuat",
  4213. "type": "vec4",
  4214. "usage": "function"
  4215. },
  4216. {
  4217. "args": [
  4218. "anytype Power"
  4219. ],
  4220. "column": 1,
  4221. "comment": " Exponent with natural logarithm base",
  4222. "file": "",
  4223. "line": 1,
  4224. "name": "exp",
  4225. "type": "anytype",
  4226. "usage": "function"
  4227. },
  4228. {
  4229. "args": [
  4230. "anytype Power"
  4231. ],
  4232. "column": 1,
  4233. "comment": " Exponent with a base of 2",
  4234. "file": "",
  4235. "line": 1,
  4236. "name": "exp2",
  4237. "type": "anytype",
  4238. "usage": "function"
  4239. },
  4240. {
  4241. "args": [
  4242. "floatVECType Normal",
  4243. "floatVECType Incident",
  4244. "floatVECType Normal_referenced"
  4245. ],
  4246. "column": 1,
  4247. "comment": "",
  4248. "file": "",
  4249. "line": 1,
  4250. "name": "faceforward",
  4251. "type": "floatVECType",
  4252. "usage": "function"
  4253. },
  4254. {
  4255. "args": [],
  4256. "column": 1,
  4257. "comment": "",
  4258. "file": "",
  4259. "line": 1,
  4260. "name": "false",
  4261. "type": "",
  4262. "usage": "keyword"
  4263. },
  4264. {
  4265. "args": [],
  4266. "column": 1,
  4267. "comment": "",
  4268. "file": "",
  4269. "line": 1,
  4270. "name": "float",
  4271. "type": "",
  4272. "usage": "keyword"
  4273. },
  4274. {
  4275. "args": [
  4276. "in vec3 v"
  4277. ],
  4278. "column": 5,
  4279. "comment": " Assume normalized input. Output is on [-1, 1] for each component.",
  4280. "file": "editor\\assets\\chunks\\common\\math\\octahedron-transform.chunk",
  4281. "line": 7,
  4282. "name": "float32x3_to_oct",
  4283. "type": "vec2",
  4284. "usage": "function"
  4285. },
  4286. {
  4287. "args": [
  4288. "floatVECType value"
  4289. ],
  4290. "column": 1,
  4291. "comment": " equivalent to asint, reads the floating point value as INT bit by bit, without changing the bit value",
  4292. "file": "",
  4293. "line": 1,
  4294. "name": "floatBitsToInt",
  4295. "type": "UINTVECType",
  4296. "usage": "function"
  4297. },
  4298. {
  4299. "args": [
  4300. "floatVECType value"
  4301. ],
  4302. "column": 1,
  4303. "comment": " equivalent to asuint, reads the floating point value as a UINT number bit by bit, without changing the bit value",
  4304. "file": "",
  4305. "line": 1,
  4306. "name": "floatBitsToUint",
  4307. "type": "UINTVECType",
  4308. "usage": "function"
  4309. },
  4310. {
  4311. "args": [
  4312. "anytype Data"
  4313. ],
  4314. "column": 1,
  4315. "comment": " Take the integer that is less than or equal to it and closest to it",
  4316. "file": "",
  4317. "line": 1,
  4318. "name": "floor",
  4319. "type": "UINTVECType",
  4320. "usage": "function"
  4321. },
  4322. {
  4323. "args": [
  4324. "double a",
  4325. "double b",
  4326. "double c"
  4327. ],
  4328. "column": 1,
  4329. "comment": " Double type and safe calculation of a*b+c",
  4330. "file": "",
  4331. "line": 1,
  4332. "name": "fma",
  4333. "type": "double",
  4334. "usage": "function"
  4335. },
  4336. {
  4337. "args": [
  4338. "floatVECType Data",
  4339. "floatVECType multiplier",
  4340. "floatVECType bias"
  4341. ],
  4342. "column": 1,
  4343. "comment": " Equivalent to mad",
  4344. "file": "",
  4345. "line": 1,
  4346. "name": "fma",
  4347. "type": "floatVECType",
  4348. "usage": "function"
  4349. },
  4350. {
  4351. "args": [
  4352. "floatVECType Data",
  4353. "floatVECType Divisor"
  4354. ],
  4355. "column": 1,
  4356. "comment": " Floating-point special remainder function, equivalent to Data % Divisor",
  4357. "file": "",
  4358. "line": 1,
  4359. "name": "fmod",
  4360. "type": "floatVECType",
  4361. "usage": "function"
  4362. },
  4363. {
  4364. "args": [],
  4365. "column": 1,
  4366. "comment": "",
  4367. "file": "",
  4368. "line": 1,
  4369. "name": "for",
  4370. "type": "",
  4371. "usage": "keyword"
  4372. },
  4373. {
  4374. "args": [
  4375. "anytype Data"
  4376. ],
  4377. "column": 1,
  4378. "comment": " Take its fractional part",
  4379. "file": "",
  4380. "line": 1,
  4381. "name": "fract",
  4382. "type": "anytype",
  4383. "usage": "function"
  4384. },
  4385. {
  4386. "args": [
  4387. "sampler2D tex",
  4388. "vec2 P",
  4389. "vec2 dPdx",
  4390. "vec2 dPdy"
  4391. ],
  4392. "column": 5,
  4393. "comment": "",
  4394. "file": "editor\\assets\\chunks\\common\\texture\\texture-lod.chunk",
  4395. "line": 29,
  4396. "name": "fragTextureGrad",
  4397. "type": "vec4",
  4398. "usage": "function"
  4399. },
  4400. {
  4401. "args": [
  4402. "samplerCube tex",
  4403. "vec3 P",
  4404. "vec3 dPdx",
  4405. "vec3 dPdy"
  4406. ],
  4407. "column": 5,
  4408. "comment": "",
  4409. "file": "editor\\assets\\chunks\\common\\texture\\texture-lod.chunk",
  4410. "line": 41,
  4411. "name": "fragTextureGrad",
  4412. "type": "vec4",
  4413. "usage": "function"
  4414. },
  4415. {
  4416. "args": [
  4417. "sampler2D tex",
  4418. "vec2 coord",
  4419. "float lod"
  4420. ],
  4421. "column": 5,
  4422. "comment": "",
  4423. "file": "editor\\assets\\chunks\\common\\texture\\texture-lod.chunk",
  4424. "line": 5,
  4425. "name": "fragTextureLod",
  4426. "type": "vec4",
  4427. "usage": "function"
  4428. },
  4429. {
  4430. "args": [
  4431. "samplerCube tex",
  4432. "vec3 coord",
  4433. "float lod"
  4434. ],
  4435. "column": 5,
  4436. "comment": "",
  4437. "file": "editor\\assets\\chunks\\common\\texture\\texture-lod.chunk",
  4438. "line": 17,
  4439. "name": "fragTextureLod",
  4440. "type": "vec4",
  4441. "usage": "function"
  4442. },
  4443. {
  4444. "args": [
  4445. "anytype Data",
  4446. "out anytype OutData"
  4447. ],
  4448. "column": 1,
  4449. "comment": " decompose a number and return its tail, parameter 2 is the exponent of the output, with a base of 10",
  4450. "file": "",
  4451. "line": 1,
  4452. "name": "frexp",
  4453. "type": "anytype",
  4454. "usage": "function"
  4455. },
  4456. {
  4457. "args": [
  4458. "anytype Data"
  4459. ],
  4460. "column": 1,
  4461. "comment": " Returns the sum of the absolute values of the partial derivatives of the input data, i.e., the sum of the absolute values of each of the two partial derivatives, which is equivalent to taking the absolute values internally before adding the gradients return abs(ddx)+abs(ddy)",
  4462. "file": "",
  4463. "line": 1,
  4464. "name": "fwidth",
  4465. "type": "anytype",
  4466. "usage": "function"
  4467. },
  4468. {
  4469. "args": [
  4470. "anytype ShaderInputData"
  4471. ],
  4472. "column": 1,
  4473. "comment": " return abs(dFdx) + abs(dFdy)",
  4474. "file": "",
  4475. "line": 1,
  4476. "name": "fwidth",
  4477. "type": "anytype",
  4478. "usage": "function"
  4479. },
  4480. {
  4481. "args": [],
  4482. "column": 1,
  4483. "comment": "",
  4484. "file": "",
  4485. "line": 1,
  4486. "name": "gl_FragColor",
  4487. "type": "",
  4488. "usage": "variable"
  4489. },
  4490. {
  4491. "args": [],
  4492. "column": 1,
  4493. "comment": "",
  4494. "file": "",
  4495. "line": 1,
  4496. "name": "gl_FragDepth",
  4497. "type": "",
  4498. "usage": "variable"
  4499. },
  4500. {
  4501. "args": [
  4502. "anytype Data1",
  4503. "anytype Data2"
  4504. ],
  4505. "column": 1,
  4506. "comment": " Judgment for each element of Data1 and Data2",
  4507. "file": "",
  4508. "line": 1,
  4509. "name": "greaterThan",
  4510. "type": "boolVECType",
  4511. "usage": "function"
  4512. },
  4513. {
  4514. "args": [
  4515. "anytype Data1",
  4516. "anytype Data2"
  4517. ],
  4518. "column": 1,
  4519. "comment": " Judgment for each element of Data1 and Data2",
  4520. "file": "",
  4521. "line": 1,
  4522. "name": "greaterThanEqual",
  4523. "type": "boolVECType",
  4524. "usage": "function"
  4525. },
  4526. {
  4527. "args": [],
  4528. "column": 1,
  4529. "comment": "",
  4530. "file": "",
  4531. "line": 1,
  4532. "name": "highp",
  4533. "type": "",
  4534. "usage": "keyword"
  4535. },
  4536. {
  4537. "args": [],
  4538. "column": 1,
  4539. "comment": "",
  4540. "file": "",
  4541. "line": 1,
  4542. "name": "if",
  4543. "type": "",
  4544. "usage": "keyword"
  4545. },
  4546. {
  4547. "args": [],
  4548. "column": 1,
  4549. "comment": "",
  4550. "file": "",
  4551. "line": 1,
  4552. "name": "in",
  4553. "type": "",
  4554. "usage": "keyword"
  4555. },
  4556. {
  4557. "args": [],
  4558. "column": 1,
  4559. "comment": "",
  4560. "file": "",
  4561. "line": 1,
  4562. "name": "inout",
  4563. "type": "",
  4564. "usage": "keyword"
  4565. },
  4566. {
  4567. "args": [],
  4568. "column": 1,
  4569. "comment": "",
  4570. "file": "",
  4571. "line": 1,
  4572. "name": "int",
  4573. "type": "",
  4574. "usage": "keyword"
  4575. },
  4576. {
  4577. "args": [
  4578. "INTVECType value"
  4579. ],
  4580. "column": 1,
  4581. "comment": " Equivalent to asfloat, reads int numbers as floating point values bit by bit, without changing the bit value",
  4582. "file": "",
  4583. "line": 1,
  4584. "name": "intBitsToFloat",
  4585. "type": "floatVECType",
  4586. "usage": "function"
  4587. },
  4588. {
  4589. "args": [
  4590. "floatVECType interpolant"
  4591. ],
  4592. "column": 1,
  4593. "comment": "",
  4594. "file": "",
  4595. "line": 1,
  4596. "name": "interpolateAtCentroid",
  4597. "type": "floatVECType",
  4598. "usage": "function"
  4599. },
  4600. {
  4601. "args": [
  4602. "floatVECType interpolant",
  4603. "vec2 offset"
  4604. ],
  4605. "column": 1,
  4606. "comment": "",
  4607. "file": "",
  4608. "line": 1,
  4609. "name": "interpolateAtOffset",
  4610. "type": "floatVECType",
  4611. "usage": "function"
  4612. },
  4613. {
  4614. "args": [
  4615. "floatVECType interpolant",
  4616. "int sampleIndex"
  4617. ],
  4618. "column": 1,
  4619. "comment": "",
  4620. "file": "",
  4621. "line": 1,
  4622. "name": "interpolateAtSample",
  4623. "type": "floatVECType",
  4624. "usage": "function"
  4625. },
  4626. {
  4627. "args": [
  4628. "anytype Data"
  4629. ],
  4630. "column": 1,
  4631. "comment": " 1 / sqrt(Data)",
  4632. "file": "",
  4633. "line": 1,
  4634. "name": "inversesqrt",
  4635. "type": "anytype",
  4636. "usage": "function"
  4637. },
  4638. {
  4639. "args": [
  4640. "anytype Data"
  4641. ],
  4642. "column": 1,
  4643. "comment": " whether it is finite, remove the possibility of irrational numbers and infinite size values, mainly used to judge the validity",
  4644. "file": "",
  4645. "line": 1,
  4646. "name": "isfinite",
  4647. "type": "bool",
  4648. "usage": "function"
  4649. },
  4650. {
  4651. "args": [
  4652. "float x"
  4653. ],
  4654. "column": 5,
  4655. "comment": "",
  4656. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  4657. "line": 5,
  4658. "name": "isinf",
  4659. "type": "bool",
  4660. "usage": "function"
  4661. },
  4662. {
  4663. "args": [
  4664. "anytype Data"
  4665. ],
  4666. "column": 1,
  4667. "comment": " whether it is infinitely large or infinitely small",
  4668. "file": "",
  4669. "line": 1,
  4670. "name": "isinf",
  4671. "type": "bool",
  4672. "usage": "function"
  4673. },
  4674. {
  4675. "args": [
  4676. "vec2 val"
  4677. ],
  4678. "column": 5,
  4679. "comment": "",
  4680. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  4681. "line": 20,
  4682. "name": "isinfs",
  4683. "type": "bool",
  4684. "usage": "function"
  4685. },
  4686. {
  4687. "args": [
  4688. "vec3 val"
  4689. ],
  4690. "column": 5,
  4691. "comment": "",
  4692. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  4693. "line": 23,
  4694. "name": "isinfs",
  4695. "type": "bool",
  4696. "usage": "function"
  4697. },
  4698. {
  4699. "args": [
  4700. "vec4 val"
  4701. ],
  4702. "column": 5,
  4703. "comment": "",
  4704. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  4705. "line": 26,
  4706. "name": "isinfs",
  4707. "type": "bool",
  4708. "usage": "function"
  4709. },
  4710. {
  4711. "args": [
  4712. "float val"
  4713. ],
  4714. "column": 5,
  4715. "comment": "",
  4716. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  4717. "line": 2,
  4718. "name": "isnan",
  4719. "type": "bool",
  4720. "usage": "function"
  4721. },
  4722. {
  4723. "args": [
  4724. "anytype Data"
  4725. ],
  4726. "column": 1,
  4727. "comment": " whether it is an irrational number",
  4728. "file": "",
  4729. "line": 1,
  4730. "name": "isnan",
  4731. "type": "bool",
  4732. "usage": "function"
  4733. },
  4734. {
  4735. "args": [
  4736. "vec2 val"
  4737. ],
  4738. "column": 5,
  4739. "comment": "",
  4740. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  4741. "line": 10,
  4742. "name": "isnans",
  4743. "type": "bool",
  4744. "usage": "function"
  4745. },
  4746. {
  4747. "args": [
  4748. "vec3 val"
  4749. ],
  4750. "column": 5,
  4751. "comment": "",
  4752. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  4753. "line": 13,
  4754. "name": "isnans",
  4755. "type": "bool",
  4756. "usage": "function"
  4757. },
  4758. {
  4759. "args": [
  4760. "vec4 val"
  4761. ],
  4762. "column": 5,
  4763. "comment": "",
  4764. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  4765. "line": 16,
  4766. "name": "isnans",
  4767. "type": "bool",
  4768. "usage": "function"
  4769. },
  4770. {
  4771. "args": [],
  4772. "column": 1,
  4773. "comment": "",
  4774. "file": "",
  4775. "line": 1,
  4776. "name": "ivec2",
  4777. "type": "",
  4778. "usage": "keyword"
  4779. },
  4780. {
  4781. "args": [],
  4782. "column": 1,
  4783. "comment": "",
  4784. "file": "",
  4785. "line": 1,
  4786. "name": "ivec3",
  4787. "type": "",
  4788. "usage": "keyword"
  4789. },
  4790. {
  4791. "args": [],
  4792. "column": 1,
  4793. "comment": "",
  4794. "file": "",
  4795. "line": 1,
  4796. "name": "ivec4",
  4797. "type": "",
  4798. "usage": "keyword"
  4799. },
  4800. {
  4801. "args": [
  4802. "anytype Multiplier",
  4803. "anytype Power"
  4804. ],
  4805. "column": 1,
  4806. "comment": " return Multiplier * 2^Power",
  4807. "file": "",
  4808. "line": 1,
  4809. "name": "ldexp",
  4810. "type": "anytype",
  4811. "usage": "function"
  4812. },
  4813. {
  4814. "args": [
  4815. "VECType Data"
  4816. ],
  4817. "column": 1,
  4818. "comment": "",
  4819. "file": "",
  4820. "line": 1,
  4821. "name": "length",
  4822. "type": "float",
  4823. "usage": "function"
  4824. },
  4825. {
  4826. "args": [
  4827. "value1",
  4828. "value2",
  4829. "value2Multiplier"
  4830. ],
  4831. "column": 1,
  4832. "comment": "",
  4833. "file": "editor\\assets\\chunks\\common\\common-define.chunk",
  4834. "line": 32,
  4835. "name": "lerp",
  4836. "type": "",
  4837. "usage": "macro"
  4838. },
  4839. {
  4840. "args": [
  4841. "anytype Data1_Left",
  4842. "anytype Data2_Right",
  4843. "anytype Coef_DirectMulToData2"
  4844. ],
  4845. "column": 1,
  4846. "comment": "",
  4847. "file": "",
  4848. "line": 1,
  4849. "name": "lerp",
  4850. "type": "anytype",
  4851. "usage": "function"
  4852. },
  4853. {
  4854. "args": [
  4855. "anytype Data1",
  4856. "anytype Data2"
  4857. ],
  4858. "column": 1,
  4859. "comment": " Judge each element of Data1 and Data2",
  4860. "file": "",
  4861. "line": 1,
  4862. "name": "lessThan",
  4863. "type": "boolVECType",
  4864. "usage": "function"
  4865. },
  4866. {
  4867. "args": [
  4868. "anytype Data1",
  4869. "anytype Data2"
  4870. ],
  4871. "column": 1,
  4872. "comment": " Make a judgment for each element of Data1 and Data2",
  4873. "file": "",
  4874. "line": 1,
  4875. "name": "lessThanEqual",
  4876. "type": "boolVECType",
  4877. "usage": "function"
  4878. },
  4879. {
  4880. "args": [
  4881. "anytype Data"
  4882. ],
  4883. "column": 1,
  4884. "comment": " Base on the natural logarithm e",
  4885. "file": "",
  4886. "line": 1,
  4887. "name": "log",
  4888. "type": "anytype",
  4889. "usage": "function"
  4890. },
  4891. {
  4892. "args": [
  4893. "anytype Data"
  4894. ],
  4895. "column": 1,
  4896. "comment": " Base on 10",
  4897. "file": "",
  4898. "line": 1,
  4899. "name": "log10",
  4900. "type": "anytype",
  4901. "usage": "function"
  4902. },
  4903. {
  4904. "args": [
  4905. "anytype Data"
  4906. ],
  4907. "column": 1,
  4908. "comment": " Base on 2",
  4909. "file": "",
  4910. "line": 1,
  4911. "name": "log2",
  4912. "type": "anytype",
  4913. "usage": "function"
  4914. },
  4915. {
  4916. "args": [],
  4917. "column": 1,
  4918. "comment": "",
  4919. "file": "",
  4920. "line": 1,
  4921. "name": "lowp",
  4922. "type": "",
  4923. "usage": "keyword"
  4924. },
  4925. {
  4926. "args": [
  4927. "anytype A",
  4928. "anytype B",
  4929. "anytype C"
  4930. ],
  4931. "column": 1,
  4932. "comment": " Returns A*B+C",
  4933. "file": "",
  4934. "line": 1,
  4935. "name": "mad",
  4936. "type": "anytype",
  4937. "usage": "function"
  4938. },
  4939. {
  4940. "args": [],
  4941. "column": 1,
  4942. "comment": "",
  4943. "file": "",
  4944. "line": 1,
  4945. "name": "mat2",
  4946. "type": "",
  4947. "usage": "keyword"
  4948. },
  4949. {
  4950. "args": [],
  4951. "column": 1,
  4952. "comment": "",
  4953. "file": "",
  4954. "line": 1,
  4955. "name": "mat3",
  4956. "type": "",
  4957. "usage": "keyword"
  4958. },
  4959. {
  4960. "args": [
  4961. "mat3 mat"
  4962. ],
  4963. "column": 5,
  4964. "comment": "",
  4965. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  4966. "line": 189,
  4967. "name": "mat3ToQuat",
  4968. "type": "vec4",
  4969. "usage": "function"
  4970. },
  4971. {
  4972. "args": [],
  4973. "column": 1,
  4974. "comment": "",
  4975. "file": "",
  4976. "line": 1,
  4977. "name": "mat4",
  4978. "type": "",
  4979. "usage": "keyword"
  4980. },
  4981. {
  4982. "args": [
  4983. "vec4 q",
  4984. "vec3 t",
  4985. "vec3 s"
  4986. ],
  4987. "column": 5,
  4988. "comment": "",
  4989. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  4990. "line": 98,
  4991. "name": "matFromRTS",
  4992. "type": "mat4",
  4993. "usage": "function"
  4994. },
  4995. {
  4996. "args": [
  4997. "MATType m1",
  4998. "MATType m2"
  4999. ],
  5000. "column": 1,
  5001. "comment": " Calculate the product of two matrices one by one for each element",
  5002. "file": "",
  5003. "line": 1,
  5004. "name": "matrixCompMult",
  5005. "type": "MATType",
  5006. "usage": "function"
  5007. },
  5008. {
  5009. "args": [
  5010. "vec4 q",
  5011. "vec3 p"
  5012. ],
  5013. "column": 5,
  5014. "comment": "",
  5015. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5016. "line": 76,
  5017. "name": "matrixFromRT",
  5018. "type": "mat4",
  5019. "usage": "function"
  5020. },
  5021. {
  5022. "args": [
  5023. "anytype A",
  5024. "anytype B"
  5025. ],
  5026. "column": 1,
  5027. "comment": "",
  5028. "file": "",
  5029. "line": 1,
  5030. "name": "max",
  5031. "type": "anytype",
  5032. "usage": "function"
  5033. },
  5034. {
  5035. "args": [],
  5036. "column": 1,
  5037. "comment": "",
  5038. "file": "",
  5039. "line": 1,
  5040. "name": "mediump",
  5041. "type": "",
  5042. "usage": "keyword"
  5043. },
  5044. {
  5045. "args": [
  5046. "anytype A",
  5047. "anytype B"
  5048. ],
  5049. "column": 1,
  5050. "comment": "",
  5051. "file": "",
  5052. "line": 1,
  5053. "name": "min",
  5054. "type": "anytype",
  5055. "usage": "function"
  5056. },
  5057. {
  5058. "args": [
  5059. "anytype Data1_Left",
  5060. "anytype Data2_Right",
  5061. "anytype Coef_DirectMulToData2"
  5062. ],
  5063. "column": 1,
  5064. "comment": "",
  5065. "file": "",
  5066. "line": 1,
  5067. "name": "mix",
  5068. "type": "anytype",
  5069. "usage": "function"
  5070. },
  5071. {
  5072. "args": [
  5073. "floatVECType Data",
  5074. "floatVECType Divisor"
  5075. ],
  5076. "column": 1,
  5077. "comment": " Floating-point-specific remainder function, equivalent to Data % divide",
  5078. "file": "",
  5079. "line": 1,
  5080. "name": "mod",
  5081. "type": "floatVECType",
  5082. "usage": "function"
  5083. },
  5084. {
  5085. "args": [
  5086. "anytype Data",
  5087. "out INTVECType OutData_IntegerPortion"
  5088. ],
  5089. "column": 1,
  5090. "comment": " return the fractional part, parameter 2 is the output of the integer part, the sign of these two parts will be the same as the input value",
  5091. "file": "",
  5092. "line": 1,
  5093. "name": "modf",
  5094. "type": "floatVECType",
  5095. "usage": "function"
  5096. },
  5097. {
  5098. "args": [
  5099. "anytype Data1",
  5100. "anytype Data2"
  5101. ],
  5102. "column": 1,
  5103. "comment": "",
  5104. "file": "",
  5105. "line": 1,
  5106. "name": "mul",
  5107. "type": "anytype",
  5108. "usage": "function"
  5109. },
  5110. {
  5111. "args": [
  5112. "VECType param"
  5113. ],
  5114. "column": 1,
  5115. "comment": " Can only be used in ShaderModel1",
  5116. "file": "",
  5117. "line": 1,
  5118. "name": "noise",
  5119. "type": "float",
  5120. "usage": "function"
  5121. },
  5122. {
  5123. "args": [
  5124. "VECType Data"
  5125. ],
  5126. "column": 1,
  5127. "comment": "",
  5128. "file": "",
  5129. "line": 1,
  5130. "name": "normalize",
  5131. "type": "VECType",
  5132. "usage": "function"
  5133. },
  5134. {
  5135. "args": [
  5136. "anytype Data1",
  5137. "anytype Data2"
  5138. ],
  5139. "column": 1,
  5140. "comment": " Judgment for each element of Data1 and Data2",
  5141. "file": "",
  5142. "line": 1,
  5143. "name": "notEqual",
  5144. "type": "boolVECType",
  5145. "usage": "function"
  5146. },
  5147. {
  5148. "args": [
  5149. "vec2 e"
  5150. ],
  5151. "column": 5,
  5152. "comment": "",
  5153. "file": "editor\\assets\\chunks\\common\\math\\octahedron-transform.chunk",
  5154. "line": 14,
  5155. "name": "oct_to_float32x3",
  5156. "type": "vec3",
  5157. "usage": "function"
  5158. },
  5159. {
  5160. "args": [],
  5161. "column": 1,
  5162. "comment": "",
  5163. "file": "",
  5164. "line": 1,
  5165. "name": "out",
  5166. "type": "",
  5167. "usage": "keyword"
  5168. },
  5169. {
  5170. "args": [
  5171. "float depth"
  5172. ],
  5173. "column": 5,
  5174. "comment": " float <--> RGBA8",
  5175. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  5176. "line": 4,
  5177. "name": "packDepthToRGBA",
  5178. "type": "vec4",
  5179. "usage": "function"
  5180. },
  5181. {
  5182. "args": [
  5183. "out type mainPart",
  5184. "out type modPart",
  5185. "highp type data"
  5186. ],
  5187. "column": 5,
  5188. "comment": "",
  5189. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  5190. "line": 24,
  5191. "name": "packHighpData",
  5192. "type": "void",
  5193. "usage": "function"
  5194. },
  5195. {
  5196. "args": [
  5197. "out type mainPart",
  5198. "out type modPart",
  5199. "highp type data",
  5200. "const float modValue"
  5201. ],
  5202. "column": 5,
  5203. "comment": "",
  5204. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  5205. "line": 32,
  5206. "name": "packHighpData",
  5207. "type": "void",
  5208. "usage": "function"
  5209. },
  5210. {
  5211. "args": [
  5212. "vec3 rgb"
  5213. ],
  5214. "column": 5,
  5215. "comment": "",
  5216. "file": "editor\\assets\\chunks\\common\\data\\unpack.chunk",
  5217. "line": 15,
  5218. "name": "packRGBE",
  5219. "type": "vec4",
  5220. "usage": "function"
  5221. },
  5222. {
  5223. "args": [
  5224. "anytype Base",
  5225. "anytype Power"
  5226. ],
  5227. "column": 1,
  5228. "comment": "",
  5229. "file": "",
  5230. "line": 1,
  5231. "name": "pow",
  5232. "type": "anytype",
  5233. "usage": "function"
  5234. },
  5235. {
  5236. "args": [
  5237. "vec4 a",
  5238. "vec4 b"
  5239. ],
  5240. "column": 5,
  5241. "comment": "",
  5242. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5243. "line": 129,
  5244. "name": "quatMultiply",
  5245. "type": "vec4",
  5246. "usage": "function"
  5247. },
  5248. {
  5249. "args": [
  5250. "vec4 q"
  5251. ],
  5252. "column": 5,
  5253. "comment": "",
  5254. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5255. "line": 247,
  5256. "name": "quatToEuler",
  5257. "type": "vec3",
  5258. "usage": "function"
  5259. },
  5260. {
  5261. "args": [
  5262. "vec4 q"
  5263. ],
  5264. "column": 5,
  5265. "comment": "",
  5266. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5267. "line": 168,
  5268. "name": "quatToMat3",
  5269. "type": "mat3",
  5270. "usage": "function"
  5271. },
  5272. {
  5273. "args": [
  5274. "vec4 q"
  5275. ],
  5276. "column": 5,
  5277. "comment": "",
  5278. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5279. "line": 184,
  5280. "name": "quatToMat4",
  5281. "type": "mat4",
  5282. "usage": "function"
  5283. },
  5284. {
  5285. "args": [
  5286. "vec3 xAxis",
  5287. "vec3 yAxis",
  5288. "vec3 zAxis"
  5289. ],
  5290. "column": 5,
  5291. "comment": "",
  5292. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5293. "line": 11,
  5294. "name": "quaternionFromAxis",
  5295. "type": "vec4",
  5296. "usage": "function"
  5297. },
  5298. {
  5299. "args": [
  5300. "float angle",
  5301. "vec3 axis"
  5302. ],
  5303. "column": 5,
  5304. "comment": "",
  5305. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5306. "line": 2,
  5307. "name": "quaternionFromAxisAngle",
  5308. "type": "vec4",
  5309. "usage": "function"
  5310. },
  5311. {
  5312. "args": [
  5313. "vec3 angle"
  5314. ],
  5315. "column": 5,
  5316. "comment": "",
  5317. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5318. "line": 54,
  5319. "name": "quaternionFromEuler",
  5320. "type": "vec4",
  5321. "usage": "function"
  5322. },
  5323. {
  5324. "args": [
  5325. "floatVECType Value_Degree"
  5326. ],
  5327. "column": 1,
  5328. "comment": " Turn degrees into radians",
  5329. "file": "",
  5330. "line": 1,
  5331. "name": "radians",
  5332. "type": "floatVECType",
  5333. "usage": "function"
  5334. },
  5335. {
  5336. "args": [
  5337. "vec2 seeds_zero_to_one"
  5338. ],
  5339. "column": 6,
  5340. "comment": " random number\r\n seeds value must be between zero to one, otherwise get 0\r\n such as fract(cc_time.z * FSInput_texcoord)",
  5341. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5342. "line": 60,
  5343. "name": "rand",
  5344. "type": "float",
  5345. "usage": "function"
  5346. },
  5347. {
  5348. "args": [
  5349. "anytype Data"
  5350. ],
  5351. "column": 1,
  5352. "comment": "",
  5353. "file": "",
  5354. "line": 1,
  5355. "name": "rcp",
  5356. "type": "anytype",
  5357. "usage": "function"
  5358. },
  5359. {
  5360. "args": [
  5361. "VECType IncidentDirection",
  5362. "VECType Normal"
  5363. ],
  5364. "column": 1,
  5365. "comment": " IncidentDirection is from elsewhere to pixel",
  5366. "file": "",
  5367. "line": 1,
  5368. "name": "reflect",
  5369. "type": "VECType",
  5370. "usage": "function"
  5371. },
  5372. {
  5373. "args": [
  5374. "VECType IncidentDirection",
  5375. "VECType Normal",
  5376. "float ior"
  5377. ],
  5378. "column": 1,
  5379. "comment": " IncidentDirection is from elsewhere to pixel",
  5380. "file": "",
  5381. "line": 1,
  5382. "name": "refract",
  5383. "type": "VECType",
  5384. "usage": "function"
  5385. },
  5386. {
  5387. "args": [],
  5388. "column": 1,
  5389. "comment": "",
  5390. "file": "",
  5391. "line": 1,
  5392. "name": "return",
  5393. "type": "",
  5394. "usage": "keyword"
  5395. },
  5396. {
  5397. "args": [
  5398. "inout vec2 corner",
  5399. "float angle"
  5400. ],
  5401. "column": 5,
  5402. "comment": "",
  5403. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5404. "line": 161,
  5405. "name": "rotateCorner",
  5406. "type": "void",
  5407. "usage": "function"
  5408. },
  5409. {
  5410. "args": [
  5411. "vec3 pos",
  5412. "vec3 xAxis",
  5413. "vec3 yAxis",
  5414. "vec3 zAxis",
  5415. "vec4 q"
  5416. ],
  5417. "column": 5,
  5418. "comment": "",
  5419. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5420. "line": 154,
  5421. "name": "rotateInLocalSpace",
  5422. "type": "vec3",
  5423. "usage": "function"
  5424. },
  5425. {
  5426. "args": [
  5427. "vec3 v",
  5428. "vec3 axis",
  5429. "float theta"
  5430. ],
  5431. "column": 5,
  5432. "comment": "",
  5433. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5434. "line": 150,
  5435. "name": "rotateVecFromAxis",
  5436. "type": "vec3",
  5437. "usage": "function"
  5438. },
  5439. {
  5440. "args": [
  5441. "inout vec3 v",
  5442. "vec4 q"
  5443. ],
  5444. "column": 5,
  5445. "comment": "",
  5446. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5447. "line": 138,
  5448. "name": "rotateVecFromQuat",
  5449. "type": "void",
  5450. "usage": "function"
  5451. },
  5452. {
  5453. "args": [
  5454. "float value"
  5455. ],
  5456. "column": 8,
  5457. "comment": "",
  5458. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5459. "line": 33,
  5460. "name": "round",
  5461. "type": "float",
  5462. "usage": "function"
  5463. },
  5464. {
  5465. "args": [
  5466. "vec2 value"
  5467. ],
  5468. "column": 7,
  5469. "comment": "",
  5470. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5471. "line": 37,
  5472. "name": "round",
  5473. "type": "vec2",
  5474. "usage": "function"
  5475. },
  5476. {
  5477. "args": [
  5478. "vec3 value"
  5479. ],
  5480. "column": 7,
  5481. "comment": "",
  5482. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5483. "line": 38,
  5484. "name": "round",
  5485. "type": "vec3",
  5486. "usage": "function"
  5487. },
  5488. {
  5489. "args": [
  5490. "vec4 value"
  5491. ],
  5492. "column": 7,
  5493. "comment": "",
  5494. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5495. "line": 39,
  5496. "name": "round",
  5497. "type": "vec4",
  5498. "usage": "function"
  5499. },
  5500. {
  5501. "args": [
  5502. "anytype Data"
  5503. ],
  5504. "column": 1,
  5505. "comment": " Rounding",
  5506. "file": "",
  5507. "line": 1,
  5508. "name": "round",
  5509. "type": "anytype",
  5510. "usage": "function"
  5511. },
  5512. {
  5513. "args": [
  5514. "float value"
  5515. ],
  5516. "column": 6,
  5517. "comment": "",
  5518. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5519. "line": 42,
  5520. "name": "rsqrt",
  5521. "type": "float",
  5522. "usage": "function"
  5523. },
  5524. {
  5525. "args": [
  5526. "vec2 value"
  5527. ],
  5528. "column": 5,
  5529. "comment": "",
  5530. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5531. "line": 45,
  5532. "name": "rsqrt",
  5533. "type": "vec2",
  5534. "usage": "function"
  5535. },
  5536. {
  5537. "args": [
  5538. "vec3 value"
  5539. ],
  5540. "column": 5,
  5541. "comment": "",
  5542. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5543. "line": 46,
  5544. "name": "rsqrt",
  5545. "type": "vec3",
  5546. "usage": "function"
  5547. },
  5548. {
  5549. "args": [
  5550. "vec4 value"
  5551. ],
  5552. "column": 5,
  5553. "comment": "",
  5554. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5555. "line": 47,
  5556. "name": "rsqrt",
  5557. "type": "vec4",
  5558. "usage": "function"
  5559. },
  5560. {
  5561. "args": [],
  5562. "column": 1,
  5563. "comment": "",
  5564. "file": "",
  5565. "line": 1,
  5566. "name": "sampler1D",
  5567. "type": "",
  5568. "usage": "keyword"
  5569. },
  5570. {
  5571. "args": [],
  5572. "column": 1,
  5573. "comment": "",
  5574. "file": "",
  5575. "line": 1,
  5576. "name": "sampler1DShadow",
  5577. "type": "",
  5578. "usage": "keyword"
  5579. },
  5580. {
  5581. "args": [],
  5582. "column": 1,
  5583. "comment": "",
  5584. "file": "",
  5585. "line": 1,
  5586. "name": "sampler2D",
  5587. "type": "",
  5588. "usage": "keyword"
  5589. },
  5590. {
  5591. "args": [],
  5592. "column": 1,
  5593. "comment": "",
  5594. "file": "",
  5595. "line": 1,
  5596. "name": "sampler2DShadow",
  5597. "type": "",
  5598. "usage": "keyword"
  5599. },
  5600. {
  5601. "args": [],
  5602. "column": 1,
  5603. "comment": "",
  5604. "file": "",
  5605. "line": 1,
  5606. "name": "sampler3D",
  5607. "type": "",
  5608. "usage": "keyword"
  5609. },
  5610. {
  5611. "args": [],
  5612. "column": 1,
  5613. "comment": "",
  5614. "file": "",
  5615. "line": 1,
  5616. "name": "samplerCube",
  5617. "type": "",
  5618. "usage": "keyword"
  5619. },
  5620. {
  5621. "args": [
  5622. "float value"
  5623. ],
  5624. "column": 6,
  5625. "comment": "",
  5626. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5627. "line": 49,
  5628. "name": "saturate",
  5629. "type": "float",
  5630. "usage": "function"
  5631. },
  5632. {
  5633. "args": [
  5634. "vec2 value"
  5635. ],
  5636. "column": 5,
  5637. "comment": "",
  5638. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5639. "line": 52,
  5640. "name": "saturate",
  5641. "type": "vec2",
  5642. "usage": "function"
  5643. },
  5644. {
  5645. "args": [
  5646. "vec3 value"
  5647. ],
  5648. "column": 5,
  5649. "comment": "",
  5650. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5651. "line": 53,
  5652. "name": "saturate",
  5653. "type": "vec3",
  5654. "usage": "function"
  5655. },
  5656. {
  5657. "args": [
  5658. "vec4 value"
  5659. ],
  5660. "column": 5,
  5661. "comment": "",
  5662. "file": "editor\\assets\\chunks\\common\\math\\number.chunk",
  5663. "line": 54,
  5664. "name": "saturate",
  5665. "type": "vec4",
  5666. "usage": "function"
  5667. },
  5668. {
  5669. "args": [
  5670. "anytype Data_ClampTo_0_and_1"
  5671. ],
  5672. "column": 1,
  5673. "comment": "",
  5674. "file": "",
  5675. "line": 1,
  5676. "name": "saturate",
  5677. "type": "anytype",
  5678. "usage": "function"
  5679. },
  5680. {
  5681. "args": [
  5682. "inout mat4 m",
  5683. "float s"
  5684. ],
  5685. "column": 5,
  5686. "comment": "",
  5687. "file": "editor\\assets\\chunks\\common\\math\\transform.chunk",
  5688. "line": 123,
  5689. "name": "scaleMatrix",
  5690. "type": "void",
  5691. "usage": "function"
  5692. },
  5693. {
  5694. "args": [
  5695. "anytype GetSign_LessThanZero_Or_MoreThanZero_Or_Zero"
  5696. ],
  5697. "column": 1,
  5698. "comment": "",
  5699. "file": "",
  5700. "line": 1,
  5701. "name": "sign",
  5702. "type": "INTVECType",
  5703. "usage": "function"
  5704. },
  5705. {
  5706. "args": [
  5707. "vec2 v"
  5708. ],
  5709. "column": 5,
  5710. "comment": " Returns +/-1",
  5711. "file": "editor\\assets\\chunks\\common\\math\\octahedron-transform.chunk",
  5712. "line": 2,
  5713. "name": "signNotZero",
  5714. "type": "vec2",
  5715. "usage": "function"
  5716. },
  5717. {
  5718. "args": [
  5719. "anytype Value_Radian"
  5720. ],
  5721. "column": 1,
  5722. "comment": "",
  5723. "file": "",
  5724. "line": 1,
  5725. "name": "sin",
  5726. "type": "anytype",
  5727. "usage": "function"
  5728. },
  5729. {
  5730. "args": [
  5731. "anytype Value_Radian",
  5732. "out anytype SinValue",
  5733. "out anytype CosValue"
  5734. ],
  5735. "column": 1,
  5736. "comment": " Returns both sine and cosine",
  5737. "file": "",
  5738. "line": 1,
  5739. "name": "sincos",
  5740. "type": "void",
  5741. "usage": "function"
  5742. },
  5743. {
  5744. "args": [
  5745. "anytype min",
  5746. "anytype max",
  5747. "anytype interpolate"
  5748. ],
  5749. "column": 1,
  5750. "comment": " Do Hermite smoothing for the specified parameter 3, so that it changes from linear to curved, if the parameter 3 falls outside the min and max range, then Clamp, note that it is not a real Hermite curve, does not involve the tangent vector, there is not much controllability, can only be seen as a typical Hermite curve smoothing only",
  5751. "file": "",
  5752. "line": 1,
  5753. "name": "smoothstep",
  5754. "type": "anytype",
  5755. "usage": "function"
  5756. },
  5757. {
  5758. "args": [
  5759. "anytype Data"
  5760. ],
  5761. "column": 1,
  5762. "comment": "",
  5763. "file": "",
  5764. "line": 1,
  5765. "name": "sqrt",
  5766. "type": "anytype",
  5767. "usage": "function"
  5768. },
  5769. {
  5770. "args": [
  5771. "anytype A",
  5772. "anytype B"
  5773. ],
  5774. "column": 1,
  5775. "comment": " return A <= B or B >= A floating point number, remove the bool value conversion",
  5776. "file": "",
  5777. "line": 1,
  5778. "name": "step",
  5779. "type": "float",
  5780. "usage": "function"
  5781. },
  5782. {
  5783. "args": [],
  5784. "column": 1,
  5785. "comment": "",
  5786. "file": "",
  5787. "line": 1,
  5788. "name": "struct",
  5789. "type": "",
  5790. "usage": "keyword"
  5791. },
  5792. {
  5793. "args": [
  5794. "anytype Value_Radian"
  5795. ],
  5796. "column": 1,
  5797. "comment": "",
  5798. "file": "",
  5799. "line": 1,
  5800. "name": "tan",
  5801. "type": "anytype",
  5802. "usage": "function"
  5803. },
  5804. {
  5805. "args": [
  5806. "sampler any_type_tex",
  5807. "floatVECType vTexelCoord",
  5808. "int lod"
  5809. ],
  5810. "column": 1,
  5811. "comment": "",
  5812. "file": "",
  5813. "line": 1,
  5814. "name": "texelFetch",
  5815. "type": "anytype",
  5816. "usage": "function"
  5817. },
  5818. {
  5819. "args": [
  5820. "sampler any_type_tex",
  5821. "floatVECType vTexelCoord",
  5822. "int lod",
  5823. "INTVECType vOffset"
  5824. ],
  5825. "column": 1,
  5826. "comment": "",
  5827. "file": "",
  5828. "line": 1,
  5829. "name": "texelFetchOffset",
  5830. "type": "anytype",
  5831. "usage": "function"
  5832. },
  5833. {
  5834. "args": [
  5835. "sampler any_type_tex",
  5836. "floatVECType vTextureCoord",
  5837. "__opt float bias"
  5838. ],
  5839. "column": 1,
  5840. "comment": "",
  5841. "file": "",
  5842. "line": 1,
  5843. "name": "texture",
  5844. "type": "anytype",
  5845. "usage": "function"
  5846. },
  5847. {
  5848. "args": [
  5849. "sampler2D ss",
  5850. "float2 v2TextureCoord"
  5851. ],
  5852. "column": 1,
  5853. "comment": "",
  5854. "file": "",
  5855. "line": 1,
  5856. "name": "texture2D",
  5857. "type": "anytype",
  5858. "usage": "function"
  5859. },
  5860. {
  5861. "args": [
  5862. "sampler2D ss",
  5863. "float2 v2TextureCoord",
  5864. "float lod"
  5865. ],
  5866. "column": 1,
  5867. "comment": "",
  5868. "file": "",
  5869. "line": 1,
  5870. "name": "texture2DLodEXT",
  5871. "type": "anytype",
  5872. "usage": "function"
  5873. },
  5874. {
  5875. "args": [
  5876. "samplerCUBE ss",
  5877. "float3 v3TextureCoord"
  5878. ],
  5879. "column": 1,
  5880. "comment": "",
  5881. "file": "",
  5882. "line": 1,
  5883. "name": "textureCUBE",
  5884. "type": "anytype",
  5885. "usage": "function"
  5886. },
  5887. {
  5888. "args": [
  5889. "samplerCUBE ss",
  5890. "float3 v3TextureCoord",
  5891. "float lod"
  5892. ],
  5893. "column": 1,
  5894. "comment": "",
  5895. "file": "",
  5896. "line": 1,
  5897. "name": "textureCUBELodEXT",
  5898. "type": "anytype",
  5899. "usage": "function"
  5900. },
  5901. {
  5902. "args": [
  5903. "sampler any_type_tex",
  5904. "floatVECType vTextureCoord",
  5905. "float lod"
  5906. ],
  5907. "column": 1,
  5908. "comment": "",
  5909. "file": "",
  5910. "line": 1,
  5911. "name": "textureGrad",
  5912. "type": "anytype",
  5913. "usage": "function"
  5914. },
  5915. {
  5916. "args": [
  5917. "sampler any_type_tex",
  5918. "floatVECType vTextureCoord",
  5919. "float lod",
  5920. "INTVECType vOffset"
  5921. ],
  5922. "column": 1,
  5923. "comment": "",
  5924. "file": "",
  5925. "line": 1,
  5926. "name": "textureGradOffset",
  5927. "type": "anytype",
  5928. "usage": "function"
  5929. },
  5930. {
  5931. "args": [
  5932. "sampler any_type_tex",
  5933. "floatVECType vTextureCoord",
  5934. "float lod"
  5935. ],
  5936. "column": 1,
  5937. "comment": "",
  5938. "file": "",
  5939. "line": 1,
  5940. "name": "textureLod",
  5941. "type": "anytype",
  5942. "usage": "function"
  5943. },
  5944. {
  5945. "args": [
  5946. "sampler any_type_tex",
  5947. "floatVECType vTextureCoord",
  5948. "float lod",
  5949. "INTVECType vOffset"
  5950. ],
  5951. "column": 1,
  5952. "comment": "",
  5953. "file": "",
  5954. "line": 1,
  5955. "name": "textureLodOffset",
  5956. "type": "anytype",
  5957. "usage": "function"
  5958. },
  5959. {
  5960. "args": [
  5961. "sampler any_type_tex",
  5962. "floatVECType vTextureCoord",
  5963. "INTVECType vOffset",
  5964. "__opt float bias"
  5965. ],
  5966. "column": 1,
  5967. "comment": "",
  5968. "file": "",
  5969. "line": 1,
  5970. "name": "textureOffset",
  5971. "type": "anytype",
  5972. "usage": "function"
  5973. },
  5974. {
  5975. "args": [
  5976. "sampler any_type_tex"
  5977. ],
  5978. "column": 1,
  5979. "comment": " Query the number of mip, __VERSION__>=430",
  5980. "file": "",
  5981. "line": 1,
  5982. "name": "textureQueryLevels",
  5983. "type": "int",
  5984. "usage": "function"
  5985. },
  5986. {
  5987. "args": [
  5988. "sampler any_type_tex",
  5989. "floatVECType vTextureCoord"
  5990. ],
  5991. "column": 1,
  5992. "comment": "",
  5993. "file": "",
  5994. "line": 1,
  5995. "name": "textureQueryLod",
  5996. "type": "vec2",
  5997. "usage": "function"
  5998. },
  5999. {
  6000. "args": [
  6001. "sampler MSAAtex"
  6002. ],
  6003. "column": 1,
  6004. "comment": " Query the number of MSAA sampling points, __VERSION__>=450",
  6005. "file": "",
  6006. "line": 1,
  6007. "name": "textureSamples",
  6008. "type": "int",
  6009. "usage": "function"
  6010. },
  6011. {
  6012. "args": [
  6013. "sampler any_type_tex",
  6014. "int lod"
  6015. ],
  6016. "column": 1,
  6017. "comment": "",
  6018. "file": "",
  6019. "line": 1,
  6020. "name": "textureSize",
  6021. "type": "INTVECType",
  6022. "usage": "function"
  6023. },
  6024. {
  6025. "args": [
  6026. "MAT4 Data"
  6027. ],
  6028. "column": 1,
  6029. "comment": "",
  6030. "file": "",
  6031. "line": 1,
  6032. "name": "transpose",
  6033. "type": "MAT4",
  6034. "usage": "function"
  6035. },
  6036. {
  6037. "args": [
  6038. "mat3 v"
  6039. ],
  6040. "column": 5,
  6041. "comment": "",
  6042. "file": "editor\\assets\\chunks\\common\\lighting\\rect-area-light.chunk",
  6043. "line": 3,
  6044. "name": "transposeMat3",
  6045. "type": "mat3",
  6046. "usage": "function"
  6047. },
  6048. {
  6049. "args": [],
  6050. "column": 1,
  6051. "comment": "",
  6052. "file": "",
  6053. "line": 1,
  6054. "name": "true",
  6055. "type": "",
  6056. "usage": "keyword"
  6057. },
  6058. {
  6059. "args": [
  6060. "anytype Data"
  6061. ],
  6062. "column": 1,
  6063. "comment": " Fetching integer parts",
  6064. "file": "",
  6065. "line": 1,
  6066. "name": "trunc",
  6067. "type": "anytype",
  6068. "usage": "function"
  6069. },
  6070. {
  6071. "args": [
  6072. "UINTVECType value"
  6073. ],
  6074. "column": 1,
  6075. "comment": " equivalent to asfloat, which reads UINT numbers as floating point values bit by bit, without changing the bit value",
  6076. "file": "",
  6077. "line": 1,
  6078. "name": "uintBitsToFloat",
  6079. "type": "floatVECType",
  6080. "usage": "function"
  6081. },
  6082. {
  6083. "args": [],
  6084. "column": 1,
  6085. "comment": "",
  6086. "file": "",
  6087. "line": 1,
  6088. "name": "uniform",
  6089. "type": "",
  6090. "usage": "keyword"
  6091. },
  6092. {
  6093. "args": [
  6094. "type mainPart",
  6095. "type modPart"
  6096. ],
  6097. "column": 11,
  6098. "comment": "",
  6099. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  6100. "line": 20,
  6101. "name": "unpackHighpData",
  6102. "type": "type",
  6103. "usage": "function"
  6104. },
  6105. {
  6106. "args": [
  6107. "type mainPart",
  6108. "type modPart",
  6109. "const float modValue"
  6110. ],
  6111. "column": 11,
  6112. "comment": "",
  6113. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  6114. "line": 28,
  6115. "name": "unpackHighpData",
  6116. "type": "type",
  6117. "usage": "function"
  6118. },
  6119. {
  6120. "args": [
  6121. "color"
  6122. ],
  6123. "column": 1,
  6124. "comment": "",
  6125. "file": "editor\\assets\\chunks\\common\\data\\packing.chunk",
  6126. "line": 11,
  6127. "name": "unpackRGBAToDepth",
  6128. "type": "",
  6129. "usage": "macro"
  6130. },
  6131. {
  6132. "args": [
  6133. "vec4 rgbe"
  6134. ],
  6135. "column": 5,
  6136. "comment": "",
  6137. "file": "editor\\assets\\chunks\\common\\data\\unpack.chunk",
  6138. "line": 29,
  6139. "name": "unpackRGBE",
  6140. "type": "vec3",
  6141. "usage": "function"
  6142. },
  6143. {
  6144. "args": [],
  6145. "column": 1,
  6146. "comment": "",
  6147. "file": "",
  6148. "line": 1,
  6149. "name": "varying",
  6150. "type": "",
  6151. "usage": "keyword"
  6152. },
  6153. {
  6154. "args": [],
  6155. "column": 1,
  6156. "comment": "",
  6157. "file": "",
  6158. "line": 1,
  6159. "name": "vec2",
  6160. "type": "",
  6161. "usage": "keyword"
  6162. },
  6163. {
  6164. "args": [],
  6165. "column": 1,
  6166. "comment": "",
  6167. "file": "",
  6168. "line": 1,
  6169. "name": "vec3",
  6170. "type": "",
  6171. "usage": "keyword"
  6172. },
  6173. {
  6174. "args": [],
  6175. "column": 1,
  6176. "comment": "",
  6177. "file": "",
  6178. "line": 1,
  6179. "name": "vec4",
  6180. "type": "",
  6181. "usage": "keyword"
  6182. },
  6183. {
  6184. "args": [],
  6185. "column": 1,
  6186. "comment": "",
  6187. "file": "",
  6188. "line": 1,
  6189. "name": "void",
  6190. "type": "",
  6191. "usage": "keyword"
  6192. },
  6193. {
  6194. "args": [],
  6195. "column": 1,
  6196. "comment": "",
  6197. "file": "",
  6198. "line": 1,
  6199. "name": "while",
  6200. "type": "",
  6201. "usage": "keyword"
  6202. }
  6203. ]
  6204. }
  6205. }