Questions tagged [ambient]
72 questions
0
votes
1 answer
Unity 3d ambient light not affecting billboard shader
I have a billboard shader but the problem is that my billboard planes are always bright whether ambient light is black or white. Is it possible that the unity ambient light may affect the billboard shader. Please help
Shader…

Awais Ahmed
- 25
- 8
0
votes
1 answer
To reference VSS.SDK in typescript. Error : VSS is not defined
I am trying to use vss-web-extension-sdk from node_modules, when I compile the project is compiled.
But when I upload it says;
A small piece of code from a typescript file
VSS.init({
explicitNotifyLoaded: false,
usePlatformStyles:…

husnu
- 354
- 3
- 15
0
votes
1 answer
Why doesn't my open gl ambient lighting work?
I got most of my lighting working the way I want, but I seem to be completely missing any ambient lighting. That is, the away-from-the-sun sides of things are completely black (I was hoping for 50% ambient), whereas the toward-the-sun sides seem…

Olie
- 24,597
- 18
- 99
- 131
0
votes
0 answers
An accessor cannot be declared in an ambient context in Angular8
I get this error and I've tried with update @angular/core & @angular/material changed version in package.json file as well yet it didn't fix this issue.
Microsoft.AspNetCore.Spa services[0]
ERROR in…

shashank bharadwaj
- 11
- 2
0
votes
1 answer
TypeScript ambient declaration not working
I have a JavaScript file (TestAdd.js), containing a function that I'd like to use from within a TypeScript file (CalcTest.ts)
Here is the JavaScript:
var TestSum;
(function (TestSum) {
var Cal = (function () {
function Cal() {
}
…

Sean
- 5
- 3
0
votes
1 answer
How to correctly visualize AO map contribution in A-Frame
I created a room model in Blender and baked Ambient Occlusion using a dedicated UV set.
I then created a new material with the baked AO image as a texture and applied it to the whole model. Visualization in Blender is correct.
I would like to…

user3420241
- 21
- 3
0
votes
1 answer
How to declare a singelton in typescript
I would like to integrate an existing library into my typescript project. There is a (external) singleton object which i want to declare and use.
Example:
Within xyz.js, following object will be declared:
var mxUtils = {
/* some fancy code */
…

Stefan
- 1
- 3
0
votes
0 answers
Android Studio wear: Is there a way to detect when the watch enters and exits ambient mode even if you're not in the app?
Android Studio wear: Is there a way to detect when the watch enters and exits ambient mode even if you're not in the app?

Dean
- 1
0
votes
1 answer
Android Wear - Show watchface while ambient, app while active
I'm designing an android app for my wearable device in which I have overridden ambient mode. I would like for my app to show the watchface while in ambient mode, and show the app while out of ambient mode. In other words, I want to make the app…

Instakat
- 101
- 2
- 10
0
votes
1 answer
Both Standby and ambient are Same in Android
In Android smart watch,If device is not interactive then watch will enter from Interactive Mode to Ambient Mode
In this Google link https://www.youtube.com/watch?v=Rwshwq_vI1s,they have explained only App StandBy and Doze mode
My Query here is…

kavie
- 2,154
- 4
- 28
- 53
0
votes
1 answer
typed function using ambient declaration says: is not a function
Here is the situation:
I have an old third party javascript function and I want to use it in my typescript codes simply using ambient declaration:
old.js: (is loaded by