article thumbnail

Powerful Shader Insights: Using Shader Debug Info with NVIDIA Nsight Graphics

Nvidia

As ray tracing becomes the predominant rendering technique in modern game engines, a single GPU RayGen shader can now perform most of the light simulation of a. As ray tracing becomes the predominant rendering technique in modern game engines, a single GPU RayGen shader can now perform most of the light simulation of a frame.

article thumbnail

Shader doesn't work on brower, or run it in the editor

Cocos

Thank you so much for telling me how to find that component, but it’s too bad it’s not related to the original problem, which is the shader. ;-( It’s simply an error log caused by a missing asset in some component. Is there a difference between applying the material to the sprite and the label?

Shaders 52
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

Stacking Shaders: Problem with 'new EffectAsset' in code

Cocos

I am trying to create a 'CustomMaterial' to stack 2 shader effects. When I do effectAsset: new EffectAsset I get an error, because of the type mismatch. I don’t know how to solve it… Complete line of the error: Can someone look at this? Thanks, tL.

Shaders 52
article thumbnail

Stacking Shaders: Problem with 'new EffectAsset' in code

Cocos

I am trying to create a 'CustomMaterial' to stack 2 shader effects. When I do effectAsset: new EffectAsset I get an error, because of the type mismatch. I don’t know how to solve it… Complete line of the error: Can someone look at this? Thanks, tL.

Shaders 52
article thumbnail

Stacking Shaders: Problem with 'new EffectAsset' in code

Cocos

I am trying to create a 'CustomMaterial' to stack 2 shader effects. When I do effectAsset: new EffectAsset I get an error, because of the type mismatch. I don’t know how to solve it… Complete line of the error: Can someone look at this?

Shaders 52
article thumbnail

Stacking Shaders: Problem with 'new EffectAsset' in code

Cocos

Solved this myself… Now it’s working… Kinda… New error here with getting the path: My structure: code with.effect extension: Code without.effect extension: error 1 (with the extension): error 2 (without the extension): error 3 (with full path copied from menu, without a screenshot of the modified code.): I don’t know.

Code 52
article thumbnail

Stacking Shaders: Problem with 'new EffectAsset' in code

Cocos

Solved this myself… Now it’s working… Kinda… New error here with getting the path: My structure: code with.effect extension: Code without.effect extension: error 1 (with the extension): error 2 (without the extension): error 3 (with full path copied from menu, without a screenshot of the modified code.): I don’t know.

Code 52