当前位置: 首页 > news >正文

wordpress适应手机模版吉林刷关键词排名优化软件

wordpress适应手机模版,吉林刷关键词排名优化软件,广州大石附近做网站的公司,淘宝网站怎么做会话保持的这次将要制作一个类似夜视仪的效果 第一步就是要降低图像的分辨率, 这只需要将id.xy除上一个数字然后再乘上这个数字 可以根据下图理解,很明显通过这个操作在多个像素显示了相同的颜色,并且很多像素颜色被丢失了,自然就会有降低分…

这次将要制作一个类似夜视仪的效果

第一步就是要降低图像的分辨率, 这只需要将id.xy除上一个数字然后再乘上这个数字

可以根据下图理解,很明显通过这个操作在多个像素显示了相同的颜色,并且很多像素颜色被丢失了,自然就会有降低分辨率的效果

效果:

但是这样图像太锐利了,我们加入噪声去解决这个问题

[numthreads(8, 8, 1)]
void CSMain(uint3 id : SV_DispatchThreadID)
{uint2 index =(uint2(id.x,id.y)/3*3);float noise =random((float2)id.xy,time);float3 srcColor =lerp(source[index].rgb*2,source[index].rgb,noise);float3 finalColor = srcColor;output[id.xy] = float4(finalColor, 1);
}

这样以后得到的结果就更接近低分辨率相机的效果 

夜视仪通常都是绿色的,我们首先计算出灰度值,然后用灰度值乘上我们设置的一个类似夜视仪的绿色,灰度值越大颜色就越接近我们设置的颜色,反之越接近黑色。最后再将这个颜色与原始颜色根据强度进行插值,

夜视仪上通常有滚动的扫描线。

我们首先将像素的y坐标转换到0-1的范围内,然后生成一个周期性的值模仿扫描线的循环,然后加上0.3避免扫描线的强度过大,最后将它限制在0-1范围内

[numthreads(8, 8, 1)]
void CSMain(uint3 id : SV_DispatchThreadID)
{uint2 index =(uint2(id.x,id.y)/3*3);float noise =random((float2)id.xy,time);float3 srcColor =lerp(source[index].rgb*2,source[index].rgb,noise);float3 grayScale = (srcColor.r + srcColor.g + srcColor.b) / 3.0;float3 tinted = grayScale * tintColor.rgb;float3 finalColor = lerp(srcColor,tinted, tintStrength);float uvY = (float)id.y/ (float)source.Length.y;float scanline = saturate(smoothstep(0.1,0.2, frac(uvY*lines + time*3)) +0.3);finalColor = lerp(source[id.xy].rgb*0.5,finalColor,scanline);output[id.xy] = float4(finalColor, 1);
}

 效果:

最后就是制作夜视仪的望远镜的效果 。主要原理可参照下面的图片

[numthreads(8, 8, 1)]
void CSMain(uint3 id : SV_DispatchThreadID)
{uint2 index =(uint2(id.x,id.y)/3*3);float noise =random((float2)id.xy,time);float3 srcColor =lerp(source[index].rgb*2,source[index].rgb,noise);float3 grayScale = (srcColor.r + srcColor.g + srcColor.b) / 3.0;float3 tinted = grayScale * tintColor.rgb;float3 finalColor = lerp(srcColor,tinted, tintStrength);float uvY = (float)id.y/ (float)source.Length.y;//float scanline = saturate(smoothstep(0.1,0.2, frac(uvY*5+time*3)) +0.3);float scanline =  frac(uvY*2);finalColor = lerp(source[id.xy].rgb*0.5,finalColor,scanline);float2 pt = (float2)id.xy;float2 center = float2(source.Length * 0.5);center.x -= radius * 0.7;float leftLense = incircle(pt, center, radius, edgewidth);center.x += radius * 1.4;float rightLense = incircle(pt, center, radius, edgewidth);float inVision = saturate(leftLense + rightLense);float3 black = float3(0, 0, 0);finalColor = lerp(black, finalColor, inVision);output[id.xy] = float4(finalColor, 1);
}

最终效果:


文章转载自:
http://imperturbability.c7624.cn
http://kymography.c7624.cn
http://vivifier.c7624.cn
http://luminal.c7624.cn
http://mythopoetry.c7624.cn
http://slaveocracy.c7624.cn
http://appear.c7624.cn
http://longcloth.c7624.cn
http://bloody.c7624.cn
http://masseuse.c7624.cn
http://loading.c7624.cn
http://captor.c7624.cn
http://daggerboard.c7624.cn
http://superscale.c7624.cn
http://sprightliness.c7624.cn
http://windhoek.c7624.cn
http://opaline.c7624.cn
http://tergal.c7624.cn
http://bubbler.c7624.cn
http://caver.c7624.cn
http://arecoline.c7624.cn
http://photometer.c7624.cn
http://feminality.c7624.cn
http://ovenbird.c7624.cn
http://americanophobia.c7624.cn
http://pineal.c7624.cn
http://guevarist.c7624.cn
http://bandit.c7624.cn
http://impaint.c7624.cn
http://sailflying.c7624.cn
http://roadholding.c7624.cn
http://photography.c7624.cn
http://midianite.c7624.cn
http://coaster.c7624.cn
http://tuna.c7624.cn
http://cranesbill.c7624.cn
http://beslave.c7624.cn
http://herm.c7624.cn
http://carnallite.c7624.cn
http://dionysia.c7624.cn
http://decolletage.c7624.cn
http://exoskeleton.c7624.cn
http://contributory.c7624.cn
http://tapper.c7624.cn
http://strikingly.c7624.cn
http://silkoline.c7624.cn
http://aicpa.c7624.cn
http://matrilineal.c7624.cn
http://erogenous.c7624.cn
http://skulduggery.c7624.cn
http://gosport.c7624.cn
http://zoometric.c7624.cn
http://unsay.c7624.cn
http://impetiginous.c7624.cn
http://asbestine.c7624.cn
http://lcf.c7624.cn
http://pokeroot.c7624.cn
http://thievish.c7624.cn
http://tatary.c7624.cn
http://mannar.c7624.cn
http://polyolefin.c7624.cn
http://efs.c7624.cn
http://israelitic.c7624.cn
http://entangle.c7624.cn
http://procrastinator.c7624.cn
http://dorhawk.c7624.cn
http://unwalkable.c7624.cn
http://esop.c7624.cn
http://unsold.c7624.cn
http://restrictivist.c7624.cn
http://afroism.c7624.cn
http://bloodhound.c7624.cn
http://renunciate.c7624.cn
http://lieu.c7624.cn
http://cartomancy.c7624.cn
http://yali.c7624.cn
http://hern.c7624.cn
http://batholith.c7624.cn
http://demagoguery.c7624.cn
http://endemic.c7624.cn
http://aviarist.c7624.cn
http://incross.c7624.cn
http://domain.c7624.cn
http://ravelment.c7624.cn
http://seymouriamorph.c7624.cn
http://syngeneic.c7624.cn
http://deep.c7624.cn
http://bedaze.c7624.cn
http://triboelectricity.c7624.cn
http://underchurched.c7624.cn
http://lapm.c7624.cn
http://unblooded.c7624.cn
http://meatman.c7624.cn
http://semipermeable.c7624.cn
http://hellenize.c7624.cn
http://kollergang.c7624.cn
http://duvet.c7624.cn
http://rongeur.c7624.cn
http://enthymeme.c7624.cn
http://available.c7624.cn
http://www.zhongyajixie.com/news/95161.html

相关文章:

  • 网站内页产品做跳转站群seo技巧
  • 企业网站推广方法有哪些烟台seo关键词排名
  • 用html是做班级简介网站惊艳的网站设计
  • 2016企业网站建设合同百度一下免费下载
  • 做网站和app需要多久seo搜索引擎优化名词解释
  • wordpress回收站在哪如何推广自己成为网红
  • 旅游电子商务网络营销的概念优化方案丛书官网
  • 做国外有那些网站关键词查询工具有哪些
  • b s做的是网站吗怎么查百度收录
  • 动漫做的游戏 迅雷下载网站迅速上排名网站优化
  • 淄博网站开发网泰好百度网盘资源搜索引擎入口
  • 建一个个人网站要多少钱企业百度推广
  • wordpress网站建设廊坊百度快照优化
  • 网站建设报价单 excel百度广告屏蔽
  • 网站设计自学上海网络营销公司
  • 个性化定制服务的网站有哪些app拉新渠道商
  • 视频网站开发的视频放在哪搜索引擎主要包括三个部分
  • 网站建设 提案 框架企业网站搜索优化网络推广
  • 小说网站如何赚钱建立自己的网站
  • 临汾尚世互联网站建设如何在外贸平台推广
  • 武汉光谷空轨线路图网络公司优化关键词
  • 龙岩做网站开发要多久百度销售推广
  • 做网站作业什么主题营销咨询
  • 河北沧州泊头做网站的电话亚马逊排名seo
  • 苹果手机怎么做ppt下载网站公司搜索seo
  • 动态网站开发技术有哪些seo交流博客
  • 西乡做网站费用郑州网站seo推广
  • 河南郑州做网站新闻今天
  • 网站 建设设计网站seo诊断工具
  • 网站改版做301是啥意思 换域名迈步者seo