article thumbnail

I got distracted and built a Physically-Based Renderer

Harold Serrano

The author experimented with the properties of various metals and demonstrated how to create them in a Physically-Based Renderer through renderings. They looked so cool that made me wonder if I could build a Physically-Based Renderer myself and render these metals. For starters, I was using non-physically-based shaders.

Render 72
article thumbnail

Decal Shader for mobile platform

Cocos

Is there a decal shader (screen space decal / deferred decal) on Cocos forward rendering for mobile platform ? mr.kyli…

Shaders 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

How to make nature shaders with Shader Graph in 2022 LTS

Unity Blog

Shader Graph is a node-based shader editor that can be used with URP, HDRP, and Built-In Render Pipeline. Here’s how to can use Shader Graph to create natural elements in 2022 LTS.

Shaders 79
article thumbnail

Shader array properties

Cocos

Typically it’s just going to be render pass zero for the specific node you are trying to work with… (Unless you are adding multiple render passes on your shader… you would know if you were doing that. One more thing to add on to my previous answer by the way… this isn’t a direct answer to your question.

Shaders 40
article thumbnail

Shader array properties

Cocos

stringwizard5: If you use the material.setProperty function, one of the possible arguments that it can take is render pass I am not quite sure what do you mean. We are currently using this shader to create dynamic light effect on 2d sprites, so we are updating it very often. First of all declare your array on the shader.

Shaders 40
article thumbnail

Cocos Shader Tutorial 1.0 - about UV

Cocos

The vertical axes of textures and picture pixels is shown above, when sampling textures in shaders, that is from top to bottom, which is top-right corner. Use UV in Shader Both 2D and 3D shaders in Cocos are obtained in the vertex shader (VS) and passed to the pixel shader (FS). to make the color in bottom darker.

Shaders 98
article thumbnail

Render tilemap cocos 3x

Cocos

How can I draw each tile in this tilemap using shader or material? I’m using Cocos creator version 3.6.0 and tilemap to draw an object.

Render 52